"View on Github" opens the upstream repo instead of my fork
See original GitHub issueDescribe the bug
When opening a repo forked from somewhere else, “View on Github” will open the original repo instead of my fork’s URL.
Version & OS
- Win7x64,
- ver. 2.4.0
Steps to reproduce the behavior
- Fork a repo. You can just use this one if you want an example: https://github.com/fireattack/Iridium
- Clone the (forked) repo to local using GitHub desktop
- Open this repo with desktop and click “View on GitHub”.
Expected behavior
It opens https://github.com/fireattack/Iridium
Actual behavior
It opens https://github.com/ParticleCore/Iridium
Logs
2020-04-10T23:23:45.949Z - info: [ui] [AppStore] loading 37 repositories from store
2020-04-10T23:23:45.949Z - info: [ui] [AppStore] found account: fireattack (fireattack)
2020-04-10T23:23:46.408Z - info: [ui] launching: 2.4.0 (Windows 6.1.7601)
2020-04-10T23:23:46.408Z - info: [ui] execPath: 'C:\Users\Administrator\AppData\Local\GitHubDesktop\app-2.4.0\GitHubDesktop.exe'
2020-04-10T23:23:56.309Z - info: [main] opening in browser: https://github.com/ParticleCore/Iridium
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:25 (7 by maintainers)
Top Results From Across the Web
Configuring a remote repository for a fork - GitHub Docs
Open TerminalTerminalGit Bash. List the current configured remote repository for your fork. $ git remote -v > origin https://github.com/YOUR_USERNAME/YOUR_FORK.
Read more >Syncing a fork - GitHub Docs
Syncing a fork branch from the web UI. On GitHub, navigate to the main page of the forked repository that you want to...
Read more >Fork a repo - GitHub Docs
A fork is a new repository that shares code and visibility settings with the original “upstream” repository. Forks are often used to iterate...
Read more >Branches are now created against upstream repo instead of ...
Prior to this release, a branch would be created against the fork correctly. Now, the 'branch' is created against the original repository.
Read more >Working with forks - GitHub Docs
You must configure a remote that points to the upstream repository in Git to sync changes you make in a fork with the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi folks, a setting for GitHub Desktop to treat your fork as a maintained fork is now available as a repository setting in production. Thanks for the feedback on this!
These repos are often simple scripts or small projects. I often maintain my own forks either because the original repo is abandoned, or I want to add some features that are not suitable for the upstream (too experimental, too niche, etc.).
Also, it’s trivial to jump back to the original repo by simply click the link “forked from xxx” once you are on fork’s webpage; the opposite can’t be said: there is no easy way to go to the forked repo from the upstream; you mostly have to manually change the URL.