How track the process of repository cloning on GIT server? I need information about who and when have cloned the repository. Furthermore where can I find the information about how much new repository were made and who did they on the server? It needs for making statistic.
相关问题
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
- Emacs shell: save commit message
- Can I organize Git submodules in a flat hierarchy?
- Upload file > 25 MB on Github
相关文章
- 请教Git如何克隆本地库?
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is there a version control system abstraction for
- ssh: Could not resolve hostname git: Name or servi
- Cannot commit changes with gitextensions
- git: retry if http request failed
As mentioned in this SO question:
This isn't entirely true, however, depending on the Git repo server.
If you want to keep track of git operations (including cloning) only for one specific "central" repo server, then you can add an "authorization layer" like Gitolite which will intercept any git command, check if you are authorized to do said command, and execute it.
This is where you can, just after the execution, to add your own tracking system.
On that same server, you can also extend a front-end like gitlib to include those stats (clones) in the repo stats screen:
However:
git clone
command (with gitolite) and display associated stats (gitlib) are not yet implemented.They shouldn't be complex to code, though.
git clone
done for that same repo on other Git workstation. Ie, once cloned from your main "central" Git repo server, that same repo can be cloned again many time from workstation to workstation. You won't know it.