I have a script which automatically creates a new branch with a name based on external information (JIRA ticket). I don\'t want to create the remote branch until I\'ve commi
I haven't found out exactly what the difference between the two is, but --track seems to do what you're wanting (and what I was wanting to do when I found this question!)