Skip to content

Instantly share code, notes, and snippets.

@ToniRib
Last active January 7, 2016 16:46
Show Gist options
  • Save ToniRib/b8f754fce597fa836e3b to your computer and use it in GitHub Desktop.
Save ToniRib/b8f754fce597fa836e3b to your computer and use it in GitHub Desktop.
only the best!
  • ? - on any page, pops up a window showing all of the keyboard shortcuts available on that page
  • g + d - Go to your dashboard from anywhere on GitHub
  • s - focus in on the search bar
  • g + c - If you're in a repo and NOT focused on the code tab (for example, looking at issues or settings), this will take you to the code tab
  • w - When browsing source code (clicked into a folder or file of your code in a repo), allows you to select a new branch from the list of branches
  • t - When in a repo, this opens the file finder allowing you to start typing a filename or scroll through the files to select one
  • l - When inside of a source code file, pops up a modal that allows you to type in a line number and hit enter, then jumps to that line in the file
  • g + p - When inside of a repo, goes to the pull requests tab for that repo. Useful if you're collaborating on a project and approving/reviewing a lot of pull requests

GitHub Shortcuts CheatSheet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment