----- Original Message ----- From: Alex Rodrigues To: [email protected] Cc: Alex Rodrigues ; Philip Oakley Sent: Tuesday, April 01, 2014 8:40 PM Subject: Re: [git-users] How do I find the branch of each parent of a merge commit?
Also found http://stackoverflow.com/questions/2706797/finding-what-branch-a-commit-came-from the following command appears to be exactly what I need git reflog show --all | grep <SHA1> Now I would need to just parse out the branch name :- You may also want to look at 'git describe' to check for the tags issue (when it's not a branch), --contains can be useful as well. Too many ways to skin cats... P. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
