Most of my repos' README.md files include instructions on how to clone/build/run/test the code:
$ git clone https://github.com/TravelingTechGuy/app-store-validator.git
$ cd app-store-validator
$ npm i
$ npm run build #lint and build
$ npm run test #run unit tests
The problem is the link is repo-specific, i.e. if the repo has been forked/transferred, the README would still contain a link to my original repo. I ran into at least one case of someone forking a repo, and then copy/pasting the installation instructions, and not understanding why changes are not present.
My question: is there any way to put a link to the current repo in the README file? Such that when cloned, will point to the cloned repo?
The markdown file is static. There is no way to do that.
Instruct your users to copy the URL from the widget on the right column:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With