Skip to content

Instantly share code, notes, and snippets.

@dlokesh
Last active December 9, 2015 22:18
Show Gist options
  • Save dlokesh/4336657 to your computer and use it in GitHub Desktop.
Save dlokesh/4336657 to your computer and use it in GitHub Desktop.
github commands

Git commands

add tracking branch

git branch --set-upstream prod origin/prod

create patch from commit hash

git format-patch -1 <sha>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment