Skip to content

Instantly share code, notes, and snippets.

@Binternet
Created December 16, 2014 11:07
Show Gist options
  • Save Binternet/9734b2b44557070128f5 to your computer and use it in GitHub Desktop.
Save Binternet/9734b2b44557070128f5 to your computer and use it in GitHub Desktop.
rm -fr .git
git init
git remote add origin your-git-remote-url
git fetch
git reset --hard origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment