I have been googling and looking around stackoverflow without finding a "clean answer" for this issue. Let´s say that I have the following account:


and some repos:



I´m writing some documentation on https://github.com/myUserName/repo1/README.md and I want to make a relative link to a file inside a folder of the other repo (repo 2), like: https://github.com/myUserName/repo2/folder/file.md

Is it possible to do it without having to use the previous absolute path or having to prepend "hacks" like "/blob/master"?

As a JS person, I miss the "dot notation" as a way to avoid any possible future issue related to changes in the names of the account, repos, folders.

Which would be the better way to link relatively (or between repos)?


Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.