Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johennes/gitig
Client-side git mirror replicator
https://github.com/johennes/gitig
git gitea github gitlab mirroring
Last synced: about 1 month ago
JSON representation
Client-side git mirror replicator
- Host: GitHub
- URL: https://github.com/johennes/gitig
- Owner: Johennes
- License: gpl-3.0
- Created: 2020-11-01T13:02:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-05T18:46:11.000Z (about 4 years ago)
- Last Synced: 2024-11-09T23:32:06.634Z (3 months ago)
- Topics: git, gitea, github, gitlab, mirroring
- Language: Shell
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# GitiG
GitiG is a shell script for mirroring an arbitrary git repository to GitHub and GitLab.
## Features
- Mirrors repositories to GitHub and GitLab
- Automatically creates / updates mirrored repositories as needed via the API
- Reads and replicates repository description from Gitea (if applicable)
- Works on existing checkout, no separate `--mirror` checkout needed
- Fully client-side, no access to the git server needed## Why you should mirror
If you're self-hosting your repositories, mirroring them can help increase availability and reduce load on your own instance. It's also a way of backing up and increases redundancy.
The latter point might also be relevant to you if you're not self-hosting. There is nothing wrong with GitHub or GitLab. In fact, given the value they offer to users free of charge, these are great services. It's crucial to keep in mind though that precisely because you don't pay them, you don't truly control anything you push to their servers. The availability of whatever you enter on or upload to their site is at their own and only their own discretion.
A few noteworthy examples:
In October 2020 GitHub took down the popular youtube-dl repository alongside a number of forks in response to a [DMCA] notice.
In October 2019 GitLab tried to roll out an update to its terms of service that required opting into telemetry. If you didn't want to accept these new terms, you would have lost access to their website. (It's worth noting that, fortunately, they were sensitive to the community outrage following the announcement and [revised their plans] about a week later.)
## License
GitiG is licensed under the GNU General Public License as published
by the Free Software Foundation, either version 3 of the License, or (at your option) any
later version.[revised their plans]: https://about.gitlab.com/blog/2019/10/10/update-free-software-and-telemetry/
[DMCA]: https://github.com/github/dmca/blob/master/2020/10/2020-10-23-RIAA.md