`default-branch-button` on forks: add secondary button to see folder on source repo
See original GitHub issue- Visit https://github.com/fregante/refined-github/blob/incremental-tag-changelog-link/source/background.ts
- There should be a
<<
link to https://github.com/sindresorhus/refined-github/blob/master/source/background.ts
Example: (ignore the arrow)
How:
- Edit the
get-default-branch
function to accept auser/repo
string (and it should only useparseBranchFromDom
if the string matches the current page) - Add the button on forks using the CSS code here: https://github.com/sindresorhus/refined-github/pull/1132
More issues semi-related to this one: https://github.com/sindresorhus/refined-github/pull/1115 https://github.com/sindresorhus/refined-github/pull/1168 https://github.com/sindresorhus/refined-github/pull/1557
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:15 (15 by maintainers)
Top Results From Across the Web
Fork a repo - GitHub Docs
In the top-right corner of the page, click Fork. Fork button; Select an owner for the forked repository. Create a new fork page...
Read more >Project forking workflow - GitLab Docs
A fork is a personal copy of the repository and all its branches, which you create ... You can also use git remote...
Read more >Manage branches in your Git repo - Azure - Microsoft Learn
In this article. Organize your branches; Review updates to your branches; View branch history; Change your default branch.
Read more >How do I update or sync a forked repository on GitHub?
It will sync the default branch of your fork with the upstream repository. Visit the URL, click the green "Install" button and select...
Read more >Chapter 31 Fork and clone | Happy Git and GitHub for the useR
Use the big green “Code” button to get the URL for OWNER/REPO on your clipboard. Be intentional about whether you copy the HTTPS...
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
I just realized that Unrelated Feature 😄 it exactly this!
Can I have a go for it?
Played around:
Version 1
Version 2
Version 3