rm -rf .git
git init
git remote add origin https://url/account/repo
git fetch
git reset --hard origin/master
Last active
March 17, 2017 22:51
-
-
Save MikeCraig418/aa6e2a8da3679f22702d652832c3985e to your computer and use it in GitHub Desktop.
Cloning remote repository out into an existing directory, overwriting local changes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment