Delete any closed branches
Instalation
npm install git-old-jira-branches -g
Setup
You have two methods for setting up the code the preferred way is to save your username, password and host to git config, the alternative approach is to pass the arguments into git-old-jira-branches
.
Host
The Jira host should be just the base url i.e. jira.atlassian.com the rest of the URL is added via the code.
Git config setup
git config jira.username [username]
git config jira.password [passwrd]
git config jira.host [host]
CLI Arguments
git-old-jira-branches -u [username] -p [password] -h [jira host url]