Mirrors
Mirror repositories from other Git servers or push to them after every change.
Pull mirror#
A pull mirror regularly fetches a foreign repository into Codeny, for example a project from GitHub. Set it up under Repository → Settings → Mirrors in an empty repository:
- source as an
https://URL (other protocols are blocked), - interval between 15 minutes and 7 days (default 8 hours),
- Sync now for an immediate update.
A pull mirror is read-only: pushes are rejected so the next sync overwrites nothing. Addresses in private networks and redirects are not followed for security reasons.
Push mirror#
A push mirror transfers the Codeny repository to another target after every push and additionally on an interval (git push --mirror) – handy as a backup or to keep a project visible on GitHub. Credentials for the target are stored encrypted.
--mirror makes the target an exact copy: branches that only exist there are deleted. Use a dedicated, empty target repository.
Was this page helpful?