Public | Automated Build

Last pushed: 3 months ago
Short Description
Keep a fork automatically synchronized with its upstream
Full Description


Simple tool to keep a Git repository synchronized with its upstream.

  • Alpine-based, 28 MB
  • Synchronizes all branches and tags
  • Uses Cron, no webhook, no API
  • SSH ready
  • Environment variables
    • FORK: fork URL
    • UPSTREAM: upstream URL
    • CRON: Cron expression which launchs the synchronization, * * * * * by default


Remote SSH fork on GitHub:

docker run -d -e -e -v /path/ssh/private_key_rsa:/ssh/id_rsa viossat/git-fork-sync

Local fork of an HTTPS remote repo:

docker run -d -e UPSTREAM= -e FORK=/fork -v /path/local/fork:/fork viossat/git-fork-sync
Docker Pull Command
Source Repository