Skip to content

Instantly share code, notes, and snippets.

@lourenci
Last active December 20, 2018 16:57
Show Gist options
  • Save lourenci/b8dd5ddc70b0041df93ca3c1bbfb3694 to your computer and use it in GitHub Desktop.
Save lourenci/b8dd5ddc70b0041df93ca3c1bbfb3694 to your computer and use it in GitHub Desktop.
Useful git commands

File "cherry-pick"

git checkout [source-branch] [file]

Show the file content of a specific branch

git show [branch]:[file]

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