Introduction
git-sync
is a Command Line Interface (CLI) tool designed to back up your Git repositories. It ensures that you have a local copy of your repositories, protecting against potential issues such as account bans or data loss. In today's digital landscape, losing access to your repositories can be devastating, especially for developers. GitHub can go down, accounts can be banned, and accidental deletions can happen. git-sync
provides a straightforward way to back up all your repositories locally, thus safeguarding your code.
Key Features:
- Backup All Repositories: Automatically clone or update all your GitHub repositories to a local directory.
- Periodic Sync: Keep your backups in sync with your remote repositories by running
git-sync
periodically. - Multi Clone Support: Designed for bare clones but also supports shallow, mirror, and full clones.
- Concurrency: Sync multiple repositories concurrently for faster backups.
- Custom Backup Directory: Specify the directory where you want to store your repositories.
- Multi-Platform Support: Back up repositories from major Git hosting services like GitHub, GitLab, Bitbucket, Gitea, and Forgejo.
- Notifications: Get notified on sync completion or in case of any errors.
Benefits:
- Peace of Mind: Protects your work from unexpected data loss.
- Space Efficient: Uses bare clones to save disk space.
- Easy Setup: Comes with a thorough guide to help you get started quickly.
If you find the project useful, consider giving it a star on GitHub, or supporting it through other means. Issues and feature requests are also welcome!