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.

Comparing a forked repo on GitHub open wrong repo

See original GitHub issue

If you fork a repo, then attempt to Branch > Compare on GitHub or Create Pull Request on that repo, the browser will open the original repo instead.

screen shot 2017-10-20 at 10 34 24 am

forked repo https://github.com/tierninho/map

original repo https://github.com/ng2-ui/map

URLS that are opened are: https://github.com/ng2-ui/map/compare/master...tierninho:test

screen shot 2017-10-20 at 10 39 54 am

https://github.com/ng2-ui/map/compare/master...tierninho:test?expand=1

screen shot 2017-10-20 at 10 40 01 am

tested in 1.0.5-beta0, mac

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
joshabercommented, Oct 20, 2017

This is kinda dependent on https://github.com/desktop/desktop/issues/2364, as currently we don’t know anything about a forked repository’s parent.

0reactions
shiftkeycommented, Nov 20, 2017

Closing this out as the behaviour is all driven by GitHub The Website rather than the app - see this comment for the redirects - and I think this is a pattern we want to encourage.

If anyone else has feelings on this, just shout and we can revisit.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with forks - GitHub Docs
A fork is a copy of a repository that you manage. Forks let you make changes to a project without affecting the original...
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 >
About forks - GitHub Docs
A fork is a copy of a repository that you manage. Forks let you make changes to a project without affecting the original...
Read more >
Creating a pull request from a fork - GitHub Docs
Navigate to the original repository where you created your fork. · Above the list of files, click Pull request. · On the Compare...
Read more >
Comparing commits - GitHub Docs
You can compare your base repository and any forked repository. This is the view that's presented when a user performs a Pull Request...
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