Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup: Initial remote should match "Current target branch" #4847

Closed
koppor opened this issue Sep 7, 2024 · 1 comment
Closed

Setup: Initial remote should match "Current target branch" #4847

koppor opened this issue Sep 7, 2024 · 1 comment
Assignees
Labels
bug Something isn't working UI Any broken visuals like layouts, colors etc.

Comments

@koppor
Copy link

koppor commented Sep 7, 2024

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

image

I select the directory of my project.

Then, GitButler select upstream/main as "Current target branch" and origin as "remote".

image

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

@koppor koppor added the bug Something isn't working label Sep 7, 2024
@Byron Byron added the UI Any broken visuals like layouts, colors etc. label Sep 8, 2024
@Byron
Copy link
Collaborator

Byron commented Sep 8, 2024

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working UI Any broken visuals like layouts, colors etc.
Projects
None yet
Development

No branches or pull requests

3 participants