tags:

views:

36

answers:

1

I was trying to find out when a certain feature branch in one of my repositories was created and I found that surprisingly hard. I ended up using a combination of git show-branch and git log.

Is there any easier way to find this little piece of information quickly and efficiently from the command line?

+3  A: 
git show $(git merge-base master your-branch)

will show the commit where your branch branched off master

knittl
Very nice. Didn't know about `git merge-base` yet. Thanks!
innaM