gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Fetch UI action should only fetch upstream remote

Open torarnv opened this issue 1 month ago • 1 comments

When triggering the fetch action from the UI it currently fetches from all remotes in the repo.

This is a bit surprising, given that the UI explicitly describes the upstream remote:

Image

It also doesn't match the git fetch default behavior, which just fetches the upstream remote. GB currently behaves as if the user was doing git fetch --all, but doesn't seem to respect remote.<name>.skipFetchAll, which would allow the user to avoid fetching specific remotes.

torarnv avatar Nov 03 '25 13:11 torarnv

Thanks a lot for reporting!

I agree that in an effort to become a good Gitizen, GB shouldn't avoid breaking with standard Git behaviour unless there is a very good reason to. Here, that might not be the case, or if it is, that would have to be communicated better.

Generally, GB's remote handling is a bit special right now and it doesn't necessarily respect Git configuration at all.

Byron avatar Nov 03 '25 15:11 Byron