sindresorhus/refined-github








Do you want to work on this issue?
You can request for a bounty in order to promote it!
Feature Request: on an 404 with master try to redirect to main #3301
muescha posted onGitHub
When
- a repo renames the default branch from
master
tomain
- GitHub has no default redirect :(
- i open a deep link to a file at the
master
branch
Expected
- redirect to master
- or a default button to main without requesting the default branch
Current
- i see an 404
- i see the path and strike for dirs which are deleted
- but i don't always see the
try default branch
button (maybe when it not possible to query for the default branch?)
Example Link
Link:
https://github.com/remarkjs/remark-lint/tree/master/packages/remark-lint-no-reference-like-url
Screenshot
<img width="1022" alt="Bildschirmfoto 2020-07-01 um 13 59 56" src="https://user-images.githubusercontent.com/184316/86241444-2ef39480-bba3-11ea-90a1-3bb03e7f3007.png">