Pushing to bare Git repository (remote) causes it to stop being bare
- by NSD
I have a local repository called TestRepo. I clone it with the --bare option, zip this clone up, and throw it on my server. Unzip it, and it's still bare.
I then clone the bare remote repository locally over ssh with something like
git clone ssh://git@host.com/~/TestRepo.git TestRepoCloned
The local TestRepoCloned is not bare and has a remote…