Github gist editing without changing URL

后端 未结 6 1701
轻奢々
轻奢々 2021-01-31 16:12

I have a gist with some javascript code in a script tag, like so:



        
6条回答
  •  别跟我提以往
    2021-01-31 17:00

    You can't change the content without submitting it (saving it) and that gives you a new URL.

    If you want a link to something you will be constantly changing and have the URL always be the same, put it in a repo and save changes by committing it.

    You'll end up with something like:

    https://raw.github.com/UserName/Repository/master/script.js

提交回复
热议问题