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
After adding a repo (from Github Enterprise) that has been forked from an upstream repo, it seems to be not possible to remove the upstream from Github desktop (the upstream repo has since been deleted). There's no option for setting it in the menus, and removing it via command line (git remote rm upstream) only works until Github Desktop is restarted—then the upstream is re-added.
This results in fetch attempts failing because the upstream repo is unreachable—I have to open a command prompt and fetch manually or remove the upstream after every restart.
Version & OS
Github Desktop v2.9.3 x64
MacOS 11.4
Steps to reproduce the behavior
Add a repo that has been forked from an upstream
Delete the upstream
Attempt to fetch with Github Desktop (fails)
Remove the upstream via command line (git remote rm upstream), fetch now works
Restart Github Desktop
Expected behavior
Github Desktop does not re-add the removed upstream repo when restarting, and/or should provide the ability to edit/remove it in the Repository Settings menu (it only displays origin, not upstream).
Actual behavior
Github Desktop re-adds the upstream repo after every restart, and has no menu/settings options for removing it.
Activity
steveward commentedon Sep 14, 2021
Thanks for the report @JamesCatt. This is being tracked in #3715, I'll bump up that issue with a reference to this.