How can I find out who force pushed in git?

Someone used git --force push but I can’t tell who did it from the logs. Is there a way to identify the culprit?

  • Auto deployment PHP script using Gitolite
  • How can I commit many new files with git gui without clicking each of it?
  • Create multi-word alias in bash?
  • svn2git: Cannot setup tracking information
  • How do I fix “remote: fatal error in commit_refs” errors trying to push with Git?
  • How to link a folder with an existing Heroku app
  • How do I add revision and build date to source?
  • Git ssl error on windows
  • Viewing all `git diffs` with vimdiff
  • How to change gitosis default search path?
  • Git GUI.. stage everything
  • View rendered output of a gist?
  • 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.

    polygraph (from, and wikipedia)

    Git Baby is a git and github fan, let's start git clone.