question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"View on Github" opens the upstream repo instead of my fork

See original GitHub issue

Describe 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

  1. Fork a repo. You can just use this one if you want an example: https://github.com/fireattack/Iridium
  2. Clone the (forked) repo to local using GitHub desktop
  3. 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:25 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
billygriffincommented, Jun 3, 2020

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!

3reactions
fireattackcommented, Apr 13, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found