Option to set default remote

Damien Regad 3 weeks ago updated 3 weeks ago 2

In a repository with multiple remotes defined, when trying to Push a new branch created in SmartGit, the selected remote is always origin.

I know that Push To can be used to manually select a different remote, but still it would be useful to be able to specify which remote is to be used as default, and automatically select it if there is no tracked branch configured.


Have you considered to rename your remotes?

Hi Thomas thanks for your reply.

I did, but it's not always an option unfortunately. Sometimes there are several remotes and the names are fixed due to external constraints; It may also be needed to work with different remotes depending on context, and it's not practical to keep changing the remote names as one could get confused and not know where they push anymore.