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?

  • Configure TortoiseGitPlink to autoload key for a specific URL
  • Getting started with GitHub and Eclipse (spring source toolsuite 2.7.1)
  • Bower not installing from bower.json
  • How to create a 'private fork', stay in sync with origin, and push back?
  • How do I upgrade branch to lastest of an old Gerrit commit
  • Git doesn't seem to want to keep local refs to origin/master
  • 10 GIT lines erased 8Gb form my pc - How to get them back?
  • What is the GIT workflow for when 2 developers share a centralized repository between them
  • Icon font files in gitignore
  • Authentication error configuring Jenkins to work with Git Bitbucket repo
  • bulk rename of files to lowercase in git
  • Git/SVN interop (preserving histories for both repositories)
  • 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 motivationalgenerator.com, and wikipedia)

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