Created
February 6, 2013 18:08
-
-
Save tavlima/4724533 to your computer and use it in GitHub Desktop.
Some git commands for future reference.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# "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