I'm trying to figure out how to change the default git branch from the command line (I know how to do this via the web page, but don't want to automate it using selenium).
The reason I want to do this is because i can't close issues unless the commit is on the default branch.
Any ideas?
git
command line, but you can do it using the REST API, so you could write a CLI tool to do this. I've closed this as a dupe of a question that addresses the API aspect of this.