Home

Awesome

<div align="center" width="100%"> <img src="./assets/logo.png" alt="Git sync logo" width="150" /> </div> <div align="center" width="100%"> <h2>๐Ÿ”„ git-sync</h2> <p>A simple tool to backup and sync your git repositories</p> <a target="_blank" href="https://github.com/AkashRajpurohit/git-sync/actions"><img src="https://github.com/AkashRajpurohit/git-sync/actions/workflows/release.yml/badge.svg?event=push" /></a> <a href="https://goreportcard.com/report/github.com/AkashRajpurohit/git-sync"><img alt="Go Report Card" src="https://goreportcard.com/badge/github.com/AkashRajpurohit/git-sync"> <a target="_blank" href="https://github.com/AkashRajpurohit/git-sync/releases"><img src="https://img.shields.io/github/downloads/AkashRajpurohit/git-sync/total" /></a> <a target="_blank" href="https://github.com/AkashRajpurohit/git-sync/pkgs/container/git-sync"><img src="https://img.shields.io/badge/dynamic/json?url=https://ipitio.github.io/backage/AkashRajpurohit/git-sync/git-sync.json&query=%24.downloads&logo=github&style=flat&color=066da5&label=Docker pulls" /></a> <img alt="Visitors count" src="https://visitor-badge.laobi.icu/badge?page_id=@akashrajpurohit~git-sync.visitor-badge&style=flat-square"> <a target="_blank" href="https://github.com/AkashRajpurohit/git-sync/releases"><img src="https://img.shields.io/github/go-mod/go-version/AkashRajpurohit/git-sync?filename=go.mod" /></a> <a target="_blank" href="https://github.com/AkashRajpurohit/git-sync/releases"><img src="https://img.shields.io/github/v/release/AkashRajpurohit/git-sync?display_name=tag" /></a> <a href="#-contributors"><img alt="All Contributors" src="https://img.shields.io/github/all-contributors/AkashRajpurohit/git-sync?color=1f85bf"></a> <a target="_blank" href="https://github.com/AkashRajpurohit/git-sync"><img src="https://img.shields.io/github/stars/AkashRajpurohit/git-sync" /></a> <br /> <br /> <p align="center"> <a href="https://github.com/AkashRajpurohit/git-sync/issues/new?template=bug_report.yml">Bug report</a> ยท <a href="https://github.com/AkashRajpurohit/git-sync/issues/new?template=feature_request.yml">Feature request</a> ยท <a href="https://github.com/AkashRajpurohit/git-sync/wiki">Read Docs</a> </p> </div> <hr />

git-sync is a CLI tool designed to help you back up your Git repositories. This tool ensures you have a local copy of your repositories, safeguarding against potential issues such as account bans or data loss.

๐Ÿ“บ Demo

asciicast

๐Ÿค” Why git-sync?

Remember when @defunkt GitHub account got banned? Well, he is the co-founder of GitHub so he did get his account un-banned pretty quickly but what if you are not that lucky?

Recently I have seen many developers getting their GitHub account banned and losing access to their repositories. Some may be able to recover their account (but there is delay in that) and some may not be able to recover their account at all. What would you do if you lose access to your repositories? What if GitHub goes down? What if you accidentally delete your repositories? The answer is simple, you should have a backup of your repositories.

git-sync provides a straightforward way to back up all your repositories locally, ensuring you have access to your code whenever you need it. It does this by doing a bare clone of all your repositories in a specified directory so that you can recover your code in case of any unforeseen circumstances as well as the file size of your backups is minimal.

โœจ Features

๐Ÿš€ Getting Started

We have a thorough guide on how to set up and get started with git-sync in our documentation.

๐Ÿ™๐Ÿป Support

If you found the project helpful, consider giving it a star โญ๏ธ. If you would like to support the project in other ways, you can buy me a coffee or sponsor me on GitHub.

๐Ÿ› Bugs or Requests

If you encounter any problems feel free to open an issue. If you feel the project is missing a feature, please raise a ticket on GitHub and I'll look into it. Pull requests are also welcome.

๐Ÿซฑ๐Ÿปโ€๐Ÿซฒ๐Ÿผ Contributors

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tbody> <tr> <td align="center" valign="top" width="14.28%"><a href="https://akashrajpurohit.com/?ref=git-sync"><img src="https://avatars.githubusercontent.com/u/30044630?v=4?s=100" width="100px;" alt="Akash Rajpurohit"/><br /><sub><b>Akash Rajpurohit</b></sub></a><br /><a href="#code-AkashRajpurohit" title="Code">๐Ÿ’ป</a> <a href="#ideas-AkashRajpurohit" title="Ideas, Planning, & Feedback">๐Ÿค”</a> <a href="#review-AkashRajpurohit" title="Reviewed Pull Requests">๐Ÿ‘€</a> <a href="#doc-AkashRajpurohit" title="Documentation">๐Ÿ“–</a> <a href="#question-AkashRajpurohit" title="Answering Questions">๐Ÿ’ฌ</a> <a href="#platform-AkashRajpurohit" title="Packaging/porting to new platform">๐Ÿ“ฆ</a></td> <td align="center" valign="top" width="14.28%"><a href="https://joao.bonadiman.dev"><img src="https://avatars.githubusercontent.com/u/18357636?v=4?s=100" width="100px;" alt="Joรฃo Vitor Bonadiman"/><br /><sub><b>Joรฃo Vitor Bonadiman</b></sub></a><br /><a href="#code-jbonadiman" title="Code">๐Ÿ’ป</a> <a href="#ideas-jbonadiman" title="Ideas, Planning, & Feedback">๐Ÿค”</a></td> <td align="center" valign="top" width="14.28%"><a href="https://qlaffont.com"><img src="https://avatars.githubusercontent.com/u/10044790?v=4?s=100" width="100px;" alt="Quentin Laffont"/><br /><sub><b>Quentin Laffont</b></sub></a><br /><a href="#code-qlaffont" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/acompagno"><img src="https://avatars.githubusercontent.com/u/4412299?v=4?s=100" width="100px;" alt="Andre Compagno"/><br /><sub><b>Andre Compagno</b></sub></a><br /><a href="#code-acompagno" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="https://janusworx.com"><img src="https://avatars.githubusercontent.com/u/4888781?v=4?s=100" width="100px;" alt="Mario Jason Braganza"/><br /><sub><b>Mario Jason Braganza</b></sub></a><br /><a href="#bug-jasonbraganza" title="Bug reports">๐Ÿ›</a></td> </tr> </tbody> </table> <!-- markdownlint-restore --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END -->

๐Ÿ‘€ Who am I?

Website Badge Linkedin Badge Twitter Badge Mastodon Follow