I played around a bit in my repo and this sequence seems to do what I want now 
that Dawid suggested tagging before removing: tag a branch then remove it from 
the drop-down.

We have a branch jira/SOLR-13452_gradle_2 for example:

// First track the branch
git checkout  --track origin/jira/SOLR-13452_gradle_2

// note, we already have a number of tags that start with 
history/branches/lucene-solr so that seems like the right prefix.
// tag the branch locally
git tag history/branches/lucene-solr/origin/jira/SOLR-13452_gradle_2

// push the tag
git push origin history/branches/lucene-solr/origin/jira/SOLR-13452_gradle_2

// delete the remote branch:
git push origin --delete origin/jira/SOLR-13452_gradle_2

// switch to another branch do I can delete the local branch, then delete the 
local branch
- git branch -d origin/jira/SOLR-13452_gradle_2

Does this work? Or is there a more efficient way? ‘cause I intend to do 10 or 
so at a time for JIRAs that are closed etc.

Thanks,
Erick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to