Skip to content

Instantly share code, notes, and snippets.

@tavlima
Created February 6, 2013 18:08
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 tavlima/4724533 to your computer and use it in GitHub Desktop.
Save tavlima/4724533 to your computer and use it in GitHub Desktop.
Some git commands for future reference.
# "Merge" a single file from another branch (won't merge the history!!!)
$ git checkout BRANCH path/filename
# List the files changed between branches
$ git diff --name-status BRANCH_A BRANCH_B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment