feat(onset): on git mirror keeps any git repository's branch as main, both ways
Radin committed
- Author
- Radin · radin@coline.appOct 31, 2026 at 21:24
- Committer
- Radin · radin@coline.appOct 31, 2026 at 21:27
- Parents
- 5d6f48b20297
feat(onset): on git mirror keeps any git repository's branch as main, both ways Teams on GitHub had to move hosting to Upstream to use Onset, and a self-hosted onset-server had no git view at all. on git mirror <url> writes each new version of main to the branch as a commit (message, author, time, Onset-Version and Onset-Change trailers; the same version always makes the same commit), pushed as a fast-forward with git's own credentials. Commits that reach the branch another way (a pull request merged on GitHub) come into main as a version merged with whatever landed meanwhile, and the next commit joins both lines. It stops rather than overwrite on a same-lines conflict or a force push, and refuses projects with private folders. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 files changed+417−15