Skip to content

Instantly share code, notes, and snippets.

@antoinekociuba
Created October 11, 2016 17:19
Show Gist options
  • Save antoinekociuba/1ec999cdf86dcbf9c8cdc040a8c2f3f1 to your computer and use it in GitHub Desktop.
Save antoinekociuba/1ec999cdf86dcbf9c8cdc040a8c2f3f1 to your computer and use it in GitHub Desktop.
GIT - Clone into a non-empty directory
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