You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opening this up to track a discussion around which scenarios we could/should support in Desktop.
Reacted by Michael Keck, Saul Rennison, Duncan Brown, Jak Boulton, Jens Fischer, Mihai Codoban, Michael Dayah, Steve Ganz, Xander Gottlieb, Shawn Baek and 53 more
Reacted by Nameer Haider and sed1ka
Reacted by Mihai Codoban, Jason Gurtz, MoShang, Silun, Ramiro Fages, Ali Mert Çakar, Yves Heller, Scott Pierce, Matej Marjanovic, Vincent Gilbert and 6 more
When cloning a forked repository from the macOS classic app, two remotes are generated: origin (pointing to the fork) and username, (pointing to the parent). For example, if I forked and cloned this repository, I’d get this:
@nturaga suggested the ability to manage remotes in #2470:
I expect to be able to click on "Repository settings", and be able to add a remote. So, maybe a "new remote" button which leads to "remote name" and "remote url".
Support for multiple remotes is a workflow requirement because Github for desktop does not allow for me to clone a public Github repository, then publish that same repository to a new remote, but not a new origin, on the corporate Github Enterprise server. I'm forced to resort to the command line. Or maybe I'm not aware of how.
@oogetyboogety thanks for your feedback! You are correct that it is not possible to work with a GitHub Enterprise remote and a GitHub remote in the same repository within GitHub Desktop -- you will have to use the command line. Is it a common scenario for you to work with the same repository that exists in both GitHub and GitHub Enterprise?
Hey
Personally I don't use Github with Github Enterprise
but its a common scenario for me to push to multiple remotes with the same repository as one of the is the production server and the other is the dev/testing one before pushing to production.
I'm dealing with this with a cleint who wants us to push to a Github Enterprise account behind a VPN. Would be so handy to have two remotes, one for our regular GitHub version, and another for the clients Github Enterprise repo.
I'd like to see good support for multiple remotes in GitHub Desktop as well. At present a couple of different workflows my company uses cannot be handled with the desktop client. Here's one that should be common but doesn't seem simple to accomplish:
+--------------+ +---------+
| company repo |<-pull request--| my fork | <<< on github
+--------------+ +---------+
| ^
fetch | | push
+-----------+ +----------+
V |
+-----------+
| my clone | <<< my laptop
+-----------+
That's two remotes — company and mine. The origin depends on which was cloned and which was remote added. The situation gets more complex when reviewing code, as that often requires yet another remote for each contributor. I typically have between 3 and 5 remotes in any given clone to coordinate distributed team development.
At minimum the ability to add remotes and fetch either singly or --all is important. So is the ability to pick the remote to push --set-upstream, allowing suggestions via pull request to my teammates' forks. Displaying or filtering branches by remote would be helpful.
Reacted by Tahakk, malafreniere, Jonas, amitwaisel, Phillip Nordwall, Yves Heller, Matej Marjanovic, Kathy Applebaum and RobertDanko-STUDENT-TUKE
This is a very important feature for my workflow currently, and it's really unfortunate that it's missing from a client that pretty much does everything else exactly as I'd want it to.
I dropped SourceTree in favor of Github Desktop, and we even switched over from Bitbucket to Github Desktop due to issues with the Bitbucket API doing strange things with the encoding of some of our files. And SourceTree has severe performance issues as your repository library grows in size. But I may have to reconsider using SourceTree since GD is the only Git GUI that I know of that doesn't innately support multiple remotes.
Just to describe the kind of workflow I have (where this is critical), I sometimes have to reference and cherry-pick individual commits from other remote repositories that aren't in the history of the origin/upstream that I'm using. Much of the codebase across the repositories I have is fairly standardized, which makes the occasional cherry-pick to add or remove some feature possible. But these repositories are only similar enough that a cherry-pick can be used - a full-blown merge is simply not feasible or pragmatic unless I want to give myself way more work by manually confirming every relevant change.
By having multiple remotes and being able to cherry-pick commits from those remotes, I can quickly implement a feature from one repository's codebase to my current repository. And that's why being able to use multiple remotes is invaluable for a Git GUI.
This would also be very useful when migrating a repository from one host to GitHub. I would like to setup multiple remotes so we can keep our new GitHub repo in sync until we phase out of using the old remote.
this is a dealbreaker for many. since the request was ignored for 7 years, it's probably better to find some other app...
btw the team is linking to this issue from every other thread, but it's a closed one, so most likely no one cares anyway
GitHub Desktop currently lacks support for managing multiple remotes through its graphical user interface (GUI). This feature request aims to address this limitation and provide users with the ability to seamlessly manage multiple remote repositories directly within GitHub Desktop.
Proposed solution
Introduce a dedicated interface within GitHub Desktop that allows users to add, remove, and switch between multiple remotes associated with their repositories. This interface could include options to:
Add new remotes by specifying the remote URL and a custom name.
Remove existing remotes.
Select a default remote for push/pull operations.
Easily switch between remotes when viewing branches, commits, and pull requests.
Additional context
It's important to note that while GitHub Desktop currently supports basic remote management for the default "origin" remote, there is no built-in functionality for managing additional remotes. As a result, users often resort to using the terminal, which may not be ideal for everyone.
Incorporating support for managing multiple remotes directly within the GitHub Desktop GUI would align with the tool's goal of providing a seamless and user-friendly Git experience. This feature would cater to the needs of users who frequently collaborate across multiple remote repositories and contribute to enhancing GitHub Desktop's overall usability.
Reacted by Simon Liimatainen, Shivam Gaur, Camille Darley, Nameer Haider, paull27, KonstantinMYOB and Meghan-Rossi
@steveward Can you please reopen this issue so it can at least be tracked?
Currently, GitHub Desktop doesn’t support multiple remotes, while other Git GUI tools already provide this feature. It would be great to have this functionality considered here as well.
Reacted by Michael Keck, JRoger, Simon Liimatainen, Jonathan Guyer, Meghan-Rossi, jn-hrt and AlbertoVazzola
Activity
j-f1 commentedon Jun 29, 2017
When cloning a forked repository from the macOS classic app, two remotes are generated:
origin(pointing to the fork) and username, (pointing to the parent). For example, if I forked and cloned this repository, I’d get this:However, when using the new app, I get this:
This makes it more difficult to keep the repo up-to-date with the parent repository.
shiftkey commentedon Aug 16, 2017
@nturaga suggested the ability to manage remotes in #2470:
joshaber commentedon Sep 15, 2017
We're planning to handle the specific case of forks in 1.1.
Other than that, we don't have anything on our current roadmap.
I'm going to add the
future-proposallabel to this issue and close it out.oogetyboogety commentedon Mar 14, 2019
@steveward
Support for multiple remotes is a workflow requirement because Github for desktop does not allow for me to clone a public Github repository, then publish that same repository to a new remote, but not a new origin, on the corporate Github Enterprise server. I'm forced to resort to the command line. Or maybe I'm not aware of how.
https://help.github.com/enterprise/2.2/admin/articles/moving-a-repository-from-github-com-to-github-enterprise/
steveward commentedon Mar 15, 2019
@oogetyboogety thanks for your feedback! You are correct that it is not possible to work with a GitHub Enterprise remote and a GitHub remote in the same repository within GitHub Desktop -- you will have to use the command line. Is it a common scenario for you to work with the same repository that exists in both GitHub and GitHub Enterprise?
YaseenTwati commentedon Mar 15, 2019
Hey
Personally I don't use Github with Github Enterprise
but its a common scenario for me to push to multiple remotes with the same repository as one of the is the production server and the other is the dev/testing one before pushing to production.
suparnavg commentedon Apr 15, 2019
@steveward this would be a useful addition to the desktop client
jm3 commentedon Jun 10, 2019
I use Dropbox as a primary remote and GH as a "releases" remote that i push too less regularly, so this would be handy for me as well.
drewbaker commentedon Jun 18, 2019
I'm dealing with this with a cleint who wants us to push to a Github Enterprise account behind a VPN. Would be so handy to have two remotes, one for our regular GitHub version, and another for the clients Github Enterprise repo.
gilmoskowitz commentedon Feb 6, 2020
I'd like to see good support for multiple remotes in GitHub Desktop as well. At present a couple of different workflows my company uses cannot be handled with the desktop client. Here's one that should be common but doesn't seem simple to accomplish:
That's two remotes — company and mine. The
origindepends on which was cloned and which wasremote added. The situation gets more complex when reviewing code, as that often requires yet another remote for each contributor. I typically have between 3 and 5 remotes in any given clone to coordinate distributed team development.At minimum the ability to add remotes and fetch either singly or
--allis important. So is the ability to pick the remote topush --set-upstream, allowing suggestions via pull request to my teammates' forks. Displaying or filtering branches by remote would be helpful.25 remaining items
huangcs427 commentedon May 10, 2023
any plan?
JonSmithAsItWere commentedon Jul 12, 2023
This is a very important feature for my workflow currently, and it's really unfortunate that it's missing from a client that pretty much does everything else exactly as I'd want it to.
I dropped SourceTree in favor of Github Desktop, and we even switched over from Bitbucket to Github Desktop due to issues with the Bitbucket API doing strange things with the encoding of some of our files. And SourceTree has severe performance issues as your repository library grows in size. But I may have to reconsider using SourceTree since GD is the only Git GUI that I know of that doesn't innately support multiple remotes.
Just to describe the kind of workflow I have (where this is critical), I sometimes have to reference and cherry-pick individual commits from other remote repositories that aren't in the history of the origin/upstream that I'm using. Much of the codebase across the repositories I have is fairly standardized, which makes the occasional cherry-pick to add or remove some feature possible. But these repositories are only similar enough that a cherry-pick can be used - a full-blown merge is simply not feasible or pragmatic unless I want to give myself way more work by manually confirming every relevant change.
By having multiple remotes and being able to cherry-pick commits from those remotes, I can quickly implement a feature from one repository's codebase to my current repository. And that's why being able to use multiple remotes is invaluable for a Git GUI.
crstauf commentedon Jul 12, 2023
@JonSmithAsItWere I used to use SourceTree as well, and switched to Fork because of the performance issues. It's a dream.
JonSmithAsItWere commentedon Jul 12, 2023
@crstauf Thank you, I'll have to try that client at some point.
So far I've been through SourceTree, GitKraken, Github Desktop, and now Git Tower. GD has almost every feature I need... except for this one...
crstauf commentedon Jul 12, 2023
@JonSmithAsItWere Yeah, I've tried those as well, and Fork has been the best for me.
simon-cpp commentedon Dec 4, 2023
+1 for adding this feature. It's a simple one, I can't believe it's not there already.
NickMainAtPI commentedon Dec 12, 2023
This would also be very useful when migrating a repository from one host to GitHub. I would like to setup multiple remotes so we can keep our new GitHub repo in sync until we phase out of using the old remote.
diev commentedon Jan 11, 2024
7 years of being ignored. This is highly likely just a vendor lock-in.
xtools-at commentedon Jan 17, 2024
this is a dealbreaker for many. since the request was ignored for 7 years, it's probably better to find some other app...
btw the team is linking to this issue from every other thread, but it's a closed one, so most likely no one cares anyway
llcxiongmao commentedon Mar 28, 2024
7 years, not implement, please open again.
steveward commentedon May 21, 2024
From #18657:
JustusAvramenko commentedon Sep 8, 2024
?!?!?!?!?!?!?!?!?!?!?
Where is the feature?
bayraak commentedon Oct 29, 2024
Yes, reopen this please
netcore-jroger commentedon Mar 6, 2025
Any updates now?
sed1ka commentedon Nov 6, 2025
@steveward Can you please reopen this issue so it can at least be tracked?
Currently, GitHub Desktop doesn’t support multiple remotes, while other Git GUI tools already provide this feature. It would be great to have this functionality considered here as well.