This issue is not the same as git - how to mirror file from other repo or How do I update my bare repo?
Since a repository cloned with --mirror
is a bare repository, can I make a repository cloned with --bare
be like one cloned with --mirror
? Can it be done by simply modifying the config file?
If not, is there other method which can convert a bare repository to a mirror repository?
Another question, Why can I not use git push --all in a mirror repo, while this command can be ran in a bare repo?