Link to lines of code on github

Justin Obara obara.justin at gmail.com
Fri Apr 29 17:48:23 UTC 2011


Hello,

So I just happened to notice this today, while following a chat Harris was having in the jquery channel. 

In github you can create links to specific lines of code. This is done by appending #L followed by a range of line numbers to the end of the url to the file. You can have the url auto generated for you by clicking on one of the line numbers for the start range and shift-clicking another for the end of the range in any of the code views.

Here's an example:
https://github.com/fluid-project/infusion/blob/master/README.txt#L38-50

Thanks
Justin





More information about the fluid-work mailing list