开发者

Access log for git

How can I find out who has cloned / pulled a project in git? I'm finding all great tools for tracking the files, but is there a wa开发者_C百科y to see who has had accessed them?


Assuming people are accessing the repository via ssh, you could use sshd's access log to get a general sense.

Beyond that, however, there aren't any "access logs" built into Git itself. If you use something like gitolite to serve repositories, it has its own logging functionality I believe.


git uses git-upload-pack and git-receive-pack for communicating with other machines. You can try wrapping those and logging access.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜