Skip to content

Instantly share code, notes, and snippets.

@shanecp
Created August 8, 2015 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shanecp/403e8d32690eb56b68a6 to your computer and use it in GitHub Desktop.
Save shanecp/403e8d32690eb56b68a6 to your computer and use it in GitHub Desktop.
Clone GIT repo to your 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