News for hackers. Stuff that matters.
Re:Tell HN: GitHub will delete your private repo if you lose... by westurner on Tuesday January 31, 2023 @06:00PM (#34603593)

  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-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

git clone: https://git-scm.com/docs/git-clone

There are no comments on this comment yet.