sourcegit-scm/sourcegit

[Feature Request] Switch current Remote

Closed this issue · 3 comments

I work with multiple remotes and currently, the last "Push" remote seems to be the "current" remote, which is used to compute the number of changes and also in the context-menu if you e.g. select "Fetch".

It would be nice, if the "current" remote could be switched not by only doing a push operation on that target remote. Maybe a context menu entry on the remote can be used for that with a "highlighted" remote like the current branch if selected.

Git does not have the concept of "Current Remote". SourceGit has a pre-repository configuration Default Remote which is used to auto-choose the best remote branch while trying to push a local branch without upstream to the remote. If you are talking about the upstream (or tracking remote branch) of a local branch, you can change it from context menu.

Ok, that is what I currently looked for.
Before using SourceGit, I used SourceGit which seems to switch the remote tracked branches different.
So I think, this can be closed.
Thanks @love-linger