Skip to content

Instantly share code, notes, and snippets.

@bacbos bacbos/gist:8872719
Created Feb 7, 2014

Embed
What would you like to do?
Transforming git repository into bare repository
mv .git .. && rm -fr *
mv ../.git .
mv .git/* .
rmdir .git
git config --bool core.bare true
cd ..; mv reponame reponame.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.