Sunday, June 24, 2018

Git find which branch contains a commit

to find which branches in a repo contains a commit with given commit id, below command can be used

git branch --contains  

for e.g.

git branch --contains e1eb22f630a659c0ce1eb22f630a659c0c

No comments:

Post a Comment