Skip to content

Add link to the main GitHub repo in README.md #107860

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nikitf777
Copy link
Contributor

It's useful when you're viewing the README in a fork, mirror or locally.

@Nikitf777 Nikitf777 requested a review from a team as a code owner June 22, 2025 16:00
@Ivorforce
Copy link
Member

GitHub already links back to the original repository in forks:

SCR-20250622-qfho

@Nikitf777
Copy link
Contributor Author

It only works with the forks, that are created using the GitHub forks functionality. If it's a hard fork, or a fork in another git hosting service, it doesn't work. For example here I migrated the repo to my Gitea:
image
And of course you don't see any links locally.

@timothyqiu
Copy link
Member

And of course you don't see any links locally.

You can use the command git remote -v to show the url (if you cloned the repository via HTTPS).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants