Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
thegeekpirate
30 days ago
|
parent
|
context
|
favorite
| on:
Bazzite: Operating System for Linux gaming
Press "y" before linking to a Github file/line to ensure it stays accurate
https://github.com/ublue-os/bazzite/blob/5e8f61a56ca3da02778...
flakes
30 days ago
|
next
[–]
I had no idea there was a hotkey for that. Thank you!
mikepurvis
30 days ago
|
parent
|
next
[–]
Even better, doing so allows GitHub to insert a source snippet if you paste a link like that into an issue or comment.
flakes
30 days ago
|
root
|
parent
|
next
[–]
Yeah, I just always used the context windows to set permalink. Saves me a step now!
thegeekpirate
27 days ago
|
parent
|
prev
|
next
[–]
My pleasure!
asmor
22 days ago
|
prev
|
next
[–]
This is cool, but also broken. If you click "raw" after pressing y without reloading, the link is still to a tag/branch.
d3Xt3r
30 days ago
|
prev
[–]
What do you mean by "to ensure it stays accurate"? Why wouldn't it be accurate if you're just copy-pasting the link?
fragmede
30 days ago
|
parent
[–]
is the link to the file as it exists on "main" currently, or at a specific revision, so in three years, it will still refer to that version of the file?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: