How to get list of feature branches which are merged to develop but not deleted in Bitbucket?
We need to determine which feature branches are associated with features already delivered to develop and closed or resolved in JIRA.
I don't think there's a plugin, as your request can be done locally by basic git commands - and is nothing you would need a git-server (like bitbucket) for ...
or - even better - here:
Actually we have many projects and each project contains lots of repositories. My initial guess is, cloning each repository and running command will take time much. Is there another way to do it like script or something else as we just need the list for the time being?
Thanks in advance.
Thanks for all your help.
As we are checking only one repository, I tried many ways like below to get the exact list of merged branches -
git branch -r --merged develop | grep feature
--> Getting branches including 0 commits ahead with merged branches in git
git-sweep preview --master=develop
--> Getting same result as above
I am getting the branches which are merged into develop, but also getting the list that have 0 commits ahead.
Any idea how to skip/exclude the branches which have 0 commits ahead?
Hello Community, I’m Anton Genkin, a product manager on the Bitbucket Server and Data Center team and am excited to share that Bitbucket Server 7.0 is now available! It's a platform release, one th...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events