例如,假设我想直接链接到/README.rst
上master
分支中的git://git@github.com:drathier/stack-overflow-import.git
。是否有标准方法在uri中格式化?我们已经在使用路径字段来指定我们在此域名上讨论的回复。
答案 0 :(得分:0)
https://github.com/drathier/stack-overflow-import/blob/4c34886ecfbaa12426a9d3e09f9d1f80888652b2/README.rst
这是你正在寻找的吗?来自here
的提示或者对原始文件内容感兴趣:
https://raw.githubusercontent.com/drathier/stack-overflow-import/4c34886ecfbaa12426a9d3e09f9d1f80888652b2/README.rst
至于 git 网址:
请参阅链接的答案,了解使用Wget或cURL与上面链接的http网址