r/github • • 16d ago

Discussion GitHub features most people don’t know about

I’ve used GitHub for years and still keep finding small features that save time. Here are a few of my favorites:

  1. Press . on any repo: opens it in a web code editor right in your browser.

  2. Press t: quickly search for any file in the repo.

  3. Press y: turns the URL into a permanent link to that exact version of the file.

  4. Link to specific lines: click a line number, then shift-click another to share a range like #L10-L20.

  5. Add ?w=1 to a PR diff URL: hides whitespace changes, so you only see real code changes.

  6. Add .patch to a commit URL: shows the commit as a plain patch file.

What hidden GitHub features do you use? Let’s make a big list!

108 Upvotes

Duplicates