Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何创建refspec样式的github提交URL?_Url_Github - Fatal编程技术网

如何创建refspec样式的github提交URL?

如何创建refspec样式的github提交URL?,url,github,Url,Github,在github上引用提交历史时,可以使用git refspec的某些版本,例如: https://github.com/johan/kilobyte-svg-challenge/commits/ = default branch https://github.com/johan/kilobyte-svg-challenge/commits/gh-pages = gh-pages branch or tag https://github.com/johan/kilobyte-svg

在github上引用提交历史时,可以使用git refspec的某些版本,例如:

https://github.com/johan/kilobyte-svg-challenge/commits/         = default branch
https://github.com/johan/kilobyte-svg-challenge/commits/gh-pages = gh-pages branch or tag
https://github.com/johan/kilobyte-svg-challenge/commits/7aafe0de9edf3f67b7f73e9ebab47ff9f2309415
https://github.com/johan/kilobyte-svg-challenge/commits/?author=duopixel
使用比较功能时,您可以使用,例如:

对于时间/计数相对提交url是否有类似的规定,如果有,url语法是什么样子的

如果这种部落知识在他们的帮助页面的任何地方都有记录,我还没有找到它。Github的URL同时也是web上设计最好的URL和最差的URL之一?据我所知,记录在案

https://github.com/johan/kilobyte-svg-challenge/compare/gh-pages~1...gh-pages
https://github.com/johan/kilobyte-svg-challenge/compare/gh-pages@{1.month.ago}...gh-pages