-
-
Save ScottJWalter/4a015227e837d984bb5a2a35346c2d4d to your computer and use it in GitHub Desktop.
Git clone into non-empty directory
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
git clone --no-checkout [email protected]:<path>.git tmp | |
mv tmp/.git . | |
rm -rf tmp | |
git reset --hard HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment