find out who created a branch on a remote git repository

I’m pruning some branches off of a git remote.

How can I find out who created a branch on a remote git repository?

  • Jenkins Branches to Build - Exclude Single Branch
  • Using Xcode 4 on multiple Macs with a git repository created by Xcode
  • Is there a way to automatically merge notes if commits for those notes get squashed?
  • How to do a git commit with a subject line and message body?
  • How to set up a local directory for mirroring a remote git repository?
  • In git-flow, why does master even exist?
  • Maybe there is something similar to git branch -r --show-user?

  • git commit -ac <commit_id> does not use latest date
  • GitHub shows directories twice that have been renamed
  • Git checkout with several remotes
  • Remote branch ahead of local one, not sure how it happened?
  • Force Jenkins to rebuild all branches in MultiBranch Pipeline project
  • Git problem with interactive rebase
  • 2 Solutions collect form web for “find out who created a branch on a remote git repository”

    See .git/logs/refs/heads/BRANCHNAME. The first line should contain information about the creation of the branch, including the user who created it and the commit from which the branch “forked”.

    git reflog can be used to examine the file programmatically; see git help reflog for details.

    I don’t think there is a completely general answer to this in all cases. Consider:


    Where was the branch containing commit I created? Was it a branch created from E, or from B. Both are possibilities – in one case, you have a branch created at D from B, then another branch created at G from E, in the other, you have D created from B, and then F created from E – in other words, the same tree could be represented like this:


    Or even this:

          \         \
           C         F

    All three of the above are topologically equivalent, and all three would give different answers to “where did branch I start?”…

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