Is there a way to add a link to the current repo in the Github README.md?

Most of my REOPME.md repos files contain 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 that the link is repo specific i.e. if the repo was forked / committed, the README will still contain a link to my original repo. I ran into at least one case where someone was deploying a repo and then copying / pasting the installation instructions and didn't understand why there was no change.

My question is, is there a way to put a link to the current repo in the README file? Such that when cloned will point to the cloned repo?

+3


source to share


1 answer


The markdown file is static. It cannot be done.

Ask your users to copy the url from the widget in the right column:



enter image description here

+3


source







All Articles