Last active
January 7, 2016 16:32
-
-
Save jakeklassen/edc3a780dcc89189802e to your computer and use it in GitHub Desktop.
Clone repo into non-empty folder
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
# http://stackoverflow.com/questions/9864728/how-to-get-git-to-clone-into-current-directory | |
git clone your-repo tmp && mv tmp/.git . && rm -rf tmp && git reset --hard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment