Skip to content

Instantly share code, notes, and snippets.

@yurydelendik
Created March 3, 2014 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yurydelendik/9325325 to your computer and use it in GitHub Desktop.
Save yurydelendik/9325325 to your computer and use it in GitHub Desktop.
github try branch alias
[alias]
try = !sh -c 'IFS=\":\" read -ra ARGS <<< \"$0\" && git fetch https://github.com/${ARGS[0]}/pdf.js.git ${ARGS[1]} && git checkout FETCH_HEAD'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment