Closed terlar closed 1 year ago
I'm getting hit by this as well.. in my case "main\n"
... it's bad enough I might need to turn the config off until this bug is figured out.
Config for one of my branches set up this way:
[branch "zenspider/sabotage_count"]
remote = .
merge = refs/heads/main
rebase = true
If you are tracking a local branch (
remote = .
) the command fails with the following error:This is due to the
remote-and-branch
being justmaster
for example instead oforigin/master
.This happens if you use the configuration
autosetupmerge = always
and do agit checkout -b newbranch
. Then it will track whatever branch you branched of from.Not sure how this should be tackled, but perhaps use the remote for the local branch you target.