Skip to content

Instantly share code, notes, and snippets.

@tierra
Last active October 16, 2017 04:04
Show Gist options
  • Save tierra/ad1366ae433a3a23ddb9 to your computer and use it in GitHub Desktop.
Save tierra/ad1366ae433a3a23ddb9 to your computer and use it in GitHub Desktop.
Mirroring git repositories for backup purposes.
git config gc.pruneExpire never
git config gc.reflogExpire never
git config gc.reflogExpireUnreachable never
git config core.logAllRefUpdates true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment