Convert a Normal Git Repository to a Bare One
Fleeting- Référence externe : https://stackoverflow.com/questions/2199897/how-to-convert-a-normal-git-repository-to-a-bare-one
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