Skip to content

Instantly share code, notes, and snippets.

@iPotaje
Created September 22, 2016 10:58
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 iPotaje/df6c860469bbd8bb07ffe4ac3e71bc96 to your computer and use it in GitHub Desktop.
Save iPotaje/df6c860469bbd8bb07ffe4ac3e71bc96 to your computer and use it in GitHub Desktop.
git clone --bare url .git
[git clone --bare https://github.com/planetoftheweb/angular2.git .git]
git config --bool core.bare false #switch the bare repo to a normal version of the repo
git reset --hard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment