Reputation: 7717
I need an easy way to track all branches that were part of a release back to their Jira tickets.
Our git process:
Possible to get a list of all branch names that were merged between to tags?
UPDATE
This gets me the hash for each commit, but I need the branch name:
git log --pretty=oneline v2.0.0-alpha.46...v2.0.0-alpha.45
Upvotes: 0
Views: 44
Reputation: 24146
See the local branches list that contains the tag.
$ git branch --contains <tag-name>
See the list of branches merged with master
branch.
$ git checkout master
$ git pull origin master
$ git branch --merged
Upvotes: 1