可以在Github中更改默认分支。应该如何在默认分支中引用文件?
比方说,默认分支为alpha
,文件为/README.md
。
https://help.github.com/articles/getting-permanent-links-to-files/讲述了如何创建具有特定分支的文件的永久链接:https://github.com/github/hubot/blob/alpha/README.md
如果我将默认分支更改为bravo
,则需要更新到https://github.com/github/hubot/blob/bravo/README.md的所有链接,这是我要避免的。有可能吗?