2 ms·
git clone --mirror git clone --bare git push --mirror git push --all "Is `git push --mirror` sufficient for backing up my repository?" https://stackover
by westurner 4y ago
git clone --mirror
git clone --bare
git push --mirror
git push --all
"Is `git push --mirror` sufficient for backing up my repository?"
https://stackoverflow.com/questions/3333102/is-git-push-mirror-sufficient-for-backing-up-my-repository/3341392#3341392 https://stackoverflow.com/questions/3333102/is-git-push-mirr... :
> So it's usually best to use --mirror for one time copies, and just use normal push (maybe with --all) for normal uses.
git push: https://git-scm.com/docs/git-push https://git-scm.com/docs/git-push
git clone: https://git-scm.com/docs/git-clone https://git-scm.com/docs/git-clone