Which setting makes a plain git push create and track the remote branch automatically?
$ git switch -c feature $ git push fatal: The current branch feature has no upstream branch.
branch.autoSetupMerge=truepush.default=matchingpush.autoSetupRemote=trueremote.pushDefault=origin
With
Play Git ▸
push.autoSetupRemote (Git 2.37+), pushing a branch with no upstream behaves like git push -u origin <branch>.