-
-
Notifications
You must be signed in to change notification settings - Fork 33
FAQs
You can create a new personal access token by following the steps mentioned here: Creating a personal access token. If you don't want to rotate the tokens after expiry, select the (Classic) option while creating the token and set expiration to Never.
More details can be found here: https://github.com/AkashRajpurohit/git-sync/wiki/Generating-Credentials#github
Follow the guide mentioned here: Creating a personal access token. And ensure that the access token have required read permissions in order to fetch your public/private projects.
More details can be found here: https://github.com/AkashRajpurohit/git-sync/wiki/Generating-Credentials#gitlab
The backups generated by git-sync are essentially bare clones of your repositories. To restore a repository, you can simply clone it from the backup directory. For example:
git clone /path/to/backup/repo.gitSince git-sync follows a config driven approach, you can essentially create multiple yaml files, let's say github-account1.yaml and gitlab-account2.yaml and add the necessary information accordingly in these files. Post that, you can simply run git-sync by passing --config path/to/config flag.
Read more about the Flags here: https://github.com/AkashRajpurohit/git-sync/wiki/Commands-and-Flags#flags
git-sync collects anonymous usage telemetry to help understand which platforms and features are popular. No PII, repository names, or tokens are ever collected — only aggregate counts and metadata like platform, OS, architecture, and sync success/failure counts. Telemetry is enabled by default and can be disabled by setting telemetry.enabled: false in your config or by setting the GIT_SYNC_NO_TELEMETRY=1 environment variable.
More details can be found here: https://github.com/AkashRajpurohit/git-sync/wiki/Telemetry
When include_issues is set to true, git-sync will backup all issues from your repositories as JSON and Markdown files. Issues are saved to <backup_dir>/<owner>/<repo>/issues/ with individual files per issue, preserving titles, descriptions, labels, comments, and metadata. An index.json is also maintained for quick lookups. This feature currently supports GitHub and GitLab.