Link latest file on Bitbucket Git repository

前端 未结 5 1980
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-24 04:21

I have a public Git repository on Bitbucket. I want to link the latest version of a Read-Me file. Here\'s the link to a revision/commit:

https://bitbucket.org/wordle

5条回答
  •  渐次进展
    2020-12-24 04:59

    Two ideas:

    Use master in the url (this seems to work):

    https://bitbucket.org/wordless/thofu-interpreter/raw/master/ThoFu%20Interpreter/ReadMe.txt
    

    Another idea is to create a wiki page for your project, then use the wiki's functionality to link to the latest version of a file with this syntax:

    <>
    

    Just omit the revision and line number parameters, they are optional.

    Then, refer to the wiki page everywhere else you'd like link to the read me file.

提交回复
热议问题