-
-
Save infinex/fcdabd511c293a77312f83f77843b395 to your computer and use it in GitHub Desktop.
git
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
# undo git add | |
git rm --cached -r dir | |
# apply patches | |
git diff master Branch1 > ../patchfile | |
git checkout Branch2 | |
git apply ../patchfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment