Created
November 11, 2013 19:36
-
-
Save omar-yassin/7419030 to your computer and use it in GitHub Desktop.
GIT: merge remote repo to local directory with similar code
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
git init; git add .; git commit #current directory | |
git fetch path/to/repo master:whatever-branch-name-you-want | |
git merge whatever-branch-name-you-want |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment