Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yairchu/safety-mirror
A simple utility to keep track of the history of repositories which sometimes rebase and force-push
https://github.com/yairchu/safety-mirror
Last synced: 23 days ago
JSON representation
A simple utility to keep track of the history of repositories which sometimes rebase and force-push
- Host: GitHub
- URL: https://github.com/yairchu/safety-mirror
- Owner: yairchu
- Created: 2023-10-02T13:58:53.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-09T18:20:35.000Z (about 2 months ago)
- Last Synced: 2024-09-09T22:43:19.380Z (about 2 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Git safety mirror
A simple utility to keep track of the history of repositories which sometimes rebase and force-push.
The problem with force-pushing is that git references can disappear, and projects depending on them stop working.
Such projects can depend on a safety mirror instead, and their builds will keep working.## Usage
* Setup: Replace the example in `source.json` with the repositories you want to track
* Usage: Run `safety-mirror.py` and your repository will have the branches you depend on in its history