Skip to content

Instantly share code, notes, and snippets.

@exalted
Last active February 19, 2016 15:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exalted/6698010 to your computer and use it in GitHub Desktop.
Save exalted/6698010 to your computer and use it in GitHub Desktop.

GitHub Secrets

URL Features

/commits

/<ref> (ref: SHA or branch)

  • author=<user>

/compare

/<begin>...<end> (<begin>|<end>: SHA, branch, or similar to master@{1.day.ago})

/issues

  • assignee=<user>
  • state=(open|closed|all)

Commit pages, pull–requests, compare views

  • Append .diff or .patch to URL to plain text view
  • ?w=1 to ignore whitespace changes

Keyboard Shortcuts

  • ?: keyboard shortcuts
  • w: switch branches/tags
  • t: fuzzy file finder

Markdown Related

  • [[<user>/]<repo>](#<issue>|@<ref>)
  • (close|fix|resolve)[(s|d)] [[<user>/]<repo>]#<issue>

Other Tips

  • In any file view, when you click one line or multiple lines by pressing SHIFT, the URL will change to reflect your selections.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment