Our project has recently moved to GIT. Im liking the local commits a lot! It has caused some confusion in our team though and some things have been pushed which should not have been pushed. Consider this scenario
All the checking will have dev1 and dev2 commit in. I cannot see a way of knowing that dev3 did the push to branch B.
Is there a way? Or am I misunderstanding the log when Im looking at these files.
From my understanding you push commits so that is why I am seeing dev1 and dev2 names. I would like to know who did the push though as well. The scenario above is a simplified version of what I think happened but hopefully is enough to get my point across.
Thanks
Unfortunately, no, who updated a ref is recorded in normal circumstances. Depending on how your repository is hosted though, you may have other choices such as using a post-receive hook script to record the ref updates and who made them. IIRC, Gitolite had an audit facility for doing this too, but I'm not sure if it still does or not.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.