简体   繁体   中英

What is the easiest/fastest way to find out when a git branch was created?

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?

git show $(git merge-base master your-branch)

将显示您的分支分支主的提交

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM