How can I find out who force pushed in git?
git --force push but I can’t tell who did it from the logs. Is there a way to identify the culprit?
One Solution collect form web for “How can I find out who force pushed in git?”
As I mention in “Distributed Version Control Systems and the Enterprise – a Good mix?”, there is no authorization or authentication with Git alone.
You need an authorization layer like Gitolite in order to keep track of who does what. (Gitolite comes with its own audit trail mechanism).
But if your repo is accessible through file (or local) protocol, then you cannot know who forced pushed.
(from motivationalgenerator.com, and wikipedia)