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
Currently, cloning a forked repository adds an origin remote linking to the fork on GitHub. However, there is no way to fetch changes from the parent, because no remote is added for the parent.
Version
GitHub Desktop version: 0.7.0
OS version: macOS 10.12.3 (16D32)
Steps to Reproduce
Fork a repo on GitHub
Clone the fork with GitHub Desktop
Run git remote on the command line
Expected behavior: Two remotes are present, with origin linking to the fork and upstream or username-of-parent-repo linking to the parent repo
Actual behavior: Only the origin remote is present
Reproduces how often: Always
Reacted by Vijay Nirmal, Andrew Brown, Michael Keck, fregante, James Jackson-South, Vinoth S, Kagami Sascha Rosylight, Xavier Villelégier, Zhiyu Zhu/朱智语, avish-bisbeehurry-cko and 7 more
I think it should be automatic since they don’t have to use the remote if they don’t want to, and it shouldn’t cause any issues, unlike LFS which requires that you pay for storage space if you use too much.
changed the title [-]Add a remote linking to the parent of a forked repo when cloning[/-][+]Add a remote linking to the parent of a forked repo[/+]on Sep 7, 2017
I'm leaning that way too. The only case that would cause problems is if they already have an upstream remote configured to something else. I gotta think those cases would be vanishingly rare tho.
Activity
iAmWillShepherd commentedon Jul 31, 2017
Thanks for creating this issue. We actually already have this on our roadmap for v1.1, but didn't have an issue for it yet.
joshaber commentedon Sep 7, 2017
Scope for 1.1:
upstreamremote to forked repositoriesDesigns TBD
joshaber commentedon Sep 7, 2017
Is this something we'd do silently and automagically, or would we ask the user, similar to LFS setup?
j-f1 commentedon Sep 7, 2017
I think it should be automatic since they don’t have to use the remote if they don’t want to, and it shouldn’t cause any issues, unlike LFS which requires that you pay for storage space if you use too much.
[-]Add a remote linking to the parent of a forked repo when cloning[/-][+]Add a remote linking to the parent of a forked repo[/+]joshaber commentedon Sep 7, 2017
I'm leaning that way too. The only case that would cause problems is if they already have an
upstreamremote configured to something else. I gotta think those cases would be vanishingly rare tho.[-]Add a remote linking to the parent of a forked repo[/-][+]Add an upstream to forked repositories[/+]