I’m using Rider and looking for functionality where I can right-click a remote branch (e.g. from origin) and say ‘new’ and have a local branch that is automatically tracking the remote branch (this is how VS operates).
However, looking at the git console, Rider issues git commands that don’t automatically track the remote branch.
RIDER COMMANDS
Right-clicking and selecting checkout issues the following:
git checkout -b TestBranch origin/TestBranch1 --
Right-clicking and selecting New branch from… issues the following:
git checkout -b TestBranch origin/TestBranch1^0 --
Neither of these commands when run manually automatically track the upstream branch. I’m effectively looking for it to issue the following:
DESIRED COMMANDS
git checkout -b TestBranch origin/TestBranch1
(Note that I’m using git branch -vv
to see the tracking status of each branch)