Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have seen this in the HTML5 Boilerplate code in line 27-28 https://github.com/h5bp/html5-boilerplate/blob/master/index....


FYI, You can link directly to lines in github: https://github.com/h5bp/html5-boilerplate/blob/master/index....


Also, I would avoid linking to 'master' as it's a moving target (in the future such a link could point to completely different code or even a file that doesn't exist). I try to link to the actual commit that master is pointing to at the time: https://github.com/h5bp/html5-boilerplate/blob/7a22a33d4041c...


You can also link to line ranges, which is relevant in this case: https://github.com/h5bp/html5-boilerplate/blob/7a22a33d4041c...


Thanks! This is much helpful.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: