spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas Chammas <>
Subject PSA: Link to files at fixed version
Date Mon, 02 Mar 2015 22:39:26 GMT
*TL;DR*: Hit y on any file page on GitHub to update the URL to a permanent

Many of you probably already know this. Here’s a handy tip for the rest.

So you’re on Github and you want to link to a file in an email, PR, or JIRA
report. Or better yet, you want to link to some specific lines in a file.

So you do this:

This is fine until someone changes the file. Now the link doesn’t make
sense because the line numbers are all different.

Instead, you want to do this:

This link will always make sense.

To get a link like this, you can just press y while you have the file open
on, and GitHub will update the address in your browser bar to a
perma-link (i.e. from the former link to the latter).


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message