branch.autoSetupMerge
makes git branch
, git switch
and git checkout
set upstream for branches they create:
-
false
- no upstream is set -
simple
- upstream is set to<start-point>
when<start-point>
is a remote-tracking branch and the branch names (the one to be created and the remote one) matchOn a side note, one can't create a local branch, which name matches the name of another local branch, as such one might say that if the branch names match,
<start-point>
can't be a local branch, i.e.<start-point>
is a remote-tracking branch.