Setup: Initial remote should match "Current target branch"
Version
0.12.26
Operating System
Windows
Distribution Method
msi (Windows)
Describe the issue
I have a repository with multiple upstreams:
$ git remote -v
origin [email protected]:koppor/jabref.git (fetch)
origin [email protected]:koppor/jabref.git (push)
upstream [email protected]:JabRef/jabref.git (fetch)
upstream [email protected]:JabRef/jabref.git (push)
I click "Add local repository" in the UI
I select the directory of my project.
Then, GitButler select upstream/main as "Current target branch" and origin as "remote".
I think, the remote when starting the window should be the remote matching the "Current target branch".
How to reproduce
No response
Expected behavior
No response
Relevant log output
No response
Thanks a lot for reporting!
You have branches from multiple remotes. If you want to specify a remote for creating branches that is different from the remote that your target branch is on, change it here.
And I agree, I think the text indicates that by default, it should match the target branch, so it can be changed if needed.
Maybe also interesting for @estib-vega .