If you want to add a reference to a specific line or a range of lines, it would be nice to get an URL that does that.
相关问题
- How to add working directory to deployment in GitH
- Upload file > 25 MB on Github
- Can I input Git command in Android Studio IDE?
- Source tree not able to push
- Git lost local commited files after git checkout
相关文章
- java开发bug问题:GitHub授权登录无法获取授权账号信息?
- Is there a Github markdown language identifier for
- “no implicit conversion of Integer into String” er
- GitHub:Enterprise post-receive hook
- git commit directory
- travis-ci setup releases with --github-token
- git commit gives error: empty commit set passed
- github部署的网站,引用的js文件报404
Note that the problem with the
#Lxx-Lyy
is that (from this post):http://github.com/jquery/jquery/blob/27291ff06ddb655f90a8d1eada71f7ac61499b12/src/css.js#L171-L185.
+1 tip from Paul Irish:
If you have a GitHub page which does not reference a sha1, type y:
that will reload that same page with the current SHA1.
If you go the the file (or version of the file you want to refer to), click the line number (or hold shift down to select a range).
=> you will see that the URL changes (it adds something like
#L21-L23
to the URL).Just copy the URL.