Konubinix' opinionated web of thoughts

Convert a Normal Git Repository to a Bare One

Fleeting

cd repo mv .git ../repo.git # renaming just for clarity cd .. rm -fr repo cd repo.git git config –bool core.bare true

https://stackoverflow.com/questions/2199897/how-to-convert-a-normal-git-repository-to-a-bare-one