0 votes
1 view
in Devops and Agile by (25.5k points)

Is there a way to determine when a Git branch was created? I have a branch in my repo and I don't remember creating it and thought maybe seeing the creation timestamp would jog my memory.

1 Answer

0 votes
by (42.7k points)

For this, you could Use

git show --summary `git merge-base foo master`

If you’d like to achieve this using gitk, then use

gitk --all --select-commit=`git merge-base foo master`

(where foo is the name of the branch you are looking for.)

This is the way to determine when a git branch was created.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...