Created
September 26, 2013 02:48
-
-
Save ksloan/6709216 to your computer and use it in GitHub Desktop.
Copy a file from one branch to another (that doesn't already exist in current branch)
This file contains 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
touch <filename>; | |
git add <filename>; | |
git checkout <other branch> <filename>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment