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.

Add link to forked repo below the original

See original GitHub issue

Issuehunt badges

To resolve this issue, jump to: https://github.com/sindresorhus/refined-github/issues/1129#issuecomment-371044209

Hey guys! Amazing addon with lot of awesome features 💯

Github displays the original repo path when visiting a fork. But, the original don’t have link to your fork. Right now we have to access the forks from here…

My proposal is to add a forked to cg-cnu/refined-github below the original repo.

Let me know your comments and ideas. Will be happy to do a pr if you guys like it. Cheers 😄


IssueHunt Summary

jerone jerone has been rewarded.

Backers (Total: $40.00)

Submitted pull Requests


Tips


IssueHunt has been backed by the following sponsors. Become a sponsor

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:23 (16 by maintainers)

github_iconTop GitHub Comments

3reactions
fregantecommented, May 31, 2019
  • When you visit your fork:

    1. Detect fork (e.g. bfred-it/refined-github)
    2. Cache it as fork:sindresorhus/refined-github = bfred-it/refined-github
  • When you visit a non-forked repo:

    • If fork:sindresorhus/refined-github is in the cache
      1. Validate the cache, i.e. fetch the fork (make sure this happens as little as possible). No API necessary, just a HEAD of ${location.origin}/${forkPath}

      2. If fork is still there, add a link to it next to the fork button, like in my mockup:

        instant fork
3reactions
hkdobrevcommented, Mar 6, 2018

@bfred-it 👍 on combining approaches for latest data + reducing API usage on repo visit.

I still don’t think we need to do anything whatsoever with the Fork button visually or on click. I don’t get the benefit really.

The real benefit is to know you already have access to a fork and you can navigate with a click in a very familiar way.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add link to forked repo below the original · Issue #1129 - GitHub
My proposal is to add a forked to cg-cnu/refined-github below the original repo.
Read more >
Is there a way to add issues to a github forked repo (without ...
Fork a repo; Go to the Settings page of your fork. Click 'General' tab on the left; Check the box next to Issues....
Read more >
How to Sync and Update a Forked Repository - Section.io
The process is simple and clear. Go to your forked repository in your GitHub account, you will see the number of commits that...
Read more >
Updating your forked repository on GitHub - Tech Writing Matters
In the command line, move to your repository folder: cd repositoryname . · Run git fetch upstream . · Run git checkout develop...
Read more >
How to Update Fork Repo From Original Repo | by Elye
1. Clone your fork repository locally. git clone <forked-repository> · 2. Set the original repo as your upstream repo. git remote add upstream...
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