2

This feels like a silly question, but I run into it dozens of times every day.

If I'm looking at the upstream repository, i.e. someone else's repository from which I have created a personal fork, what is the easiest/best/fastest/most efficient way to navigate to my own fork? This is important if, e.g., I want to create a new pull request.

The best I've come up with is to directly change the URL in the browser bar, but that's neither a one-click nor a low-effort approach:

https://github.com/upstream/repository -> https://github.com/myusername/repository

I wouldn't be terribly surprised if there's a link that I just overlook every time I open the page.

keflavich
  • 18,278
  • 20
  • 86
  • 118

2 Answers2

4

what is the easiest/best/fastest/most efficient way to navigate to my own fork?

From the upstream GitHub web page, click on the Fork button

enter image description here

Two options there:

  • You're not a member of any organization: You'll be directly redirected to your fork. Profit!

  • Your belong to at least one organization: This will open a popup window which title is "Where should we fork this repository?". This will display your avatar along those of all the organizations you belong to.

As you've already forked the repository, your avatar will be grayed. However, it is still clickable. When you hover over it, a tooltip appears which gently informs you.

enter image description here

Click on it. Bam! You're redirected to your fork on GitHub.

nulltoken
  • 64,429
  • 20
  • 138
  • 130
0

There doesn't seem to be a one-click link.
As nulltoken reports in his answer (upvoted), the fork button is one possibility.
It does actually take me to my fork in one click, without any popup window.

But if you want to create a new pull request, this is done from your local clone, through a new branch, which you then push to 'origin' (your fork).

fork

Then you can request a pull request from your fork.
See more at "How to do a Github pull request?".

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250