Master branch links are broken for branches with a `/` in the branch name
See original GitHub issueMaster branch links are broken for branches with a /
in the branch name.
eg. branch sk/dev
links to [repo]/tree/master/dev
bug is here: https://github.com/sindresorhus/refined-github/blob/master/source/features/branch-buttons.tsx#L78 and here: https://github.com/sindresorhus/refined-github/blob/master/source/libs/page-detect.ts#L84
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Master branch links are broken for branches with a ... - GitHub
Master branch links are broken for branches with a / in the branch name. eg. branch sk/dev links to [repo]/tree/master/dev.
Read more >Broken branch in git, fatal: your current branch appears to be ...
I meet similar issue on Windows 7. In my case,the current branch file (refer by ./git/HEAD ) under \.git\refs\heads was broken.
Read more >Source view URL of branch name with slashes broken ... - Jira
When using the site to view the branch we get a /src/<commit hash>/? at=<branch/name> URL. So while this is a workaround, it makes...
Read more >Branch Management - Git SCM
The git branch command does more than just create and delete branches. ... Changing the name of a branch like master/main/mainline/default will break...
Read more >How to fully delete remote Git branches from GitHub
Issue the git push origin –delete branch-name command, or use the vendor's online UI to perform a branch deletion; After the remote branch...
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
@bfred-it I would love to help! Maybe I can find time doing it later today.
https://github.com/simonkotwicz/refined-github/blob/branch/still-branch/.travis.yml#L6
Looks like the assumption of no
/
in branch names is in shortened links, permalinks and probably more places too.