Skip to content

Instantly share code, notes, and snippets.

@jjmartucci
Created June 4, 2014 15:02
Show Gist options
  • Save jjmartucci/1e9d27b4fdab9081092b to your computer and use it in GitHub Desktop.
Save jjmartucci/1e9d27b4fdab9081092b to your computer and use it in GitHub Desktop.
Clone Git repository into existing folder
git init
git remote add origin PATH/TO/REPO
git fetch
git checkout -t origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment