No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michael Hanke f094aac70b
All checks were successful
Run git-annex-ref-mirror tests / smoke-test (push) Successful in 34s
doc: add initial README
2026-09-25 12:44:08 +02:00
.datalad initialized dataset 2026-09-25 08:13:20 +02:00
.forgejo/workflows feat: composite action interface and smoke test workflow 2026-09-25 09:46:46 +02:00
tests feat: composite action interface and smoke test workflow 2026-09-25 09:46:46 +02:00
.gitattributes initialized dataset 2026-09-25 08:13:20 +02:00
.noannex feat: initial draft of a git-annex-ref-mirror command with tests 2026-09-25 08:18:55 +02:00
action.yml feat: composite action interface and smoke test workflow 2026-09-25 09:46:46 +02:00
git-annex-ref-mirror feat: initial draft of a git-annex-ref-mirror command with tests 2026-09-25 08:18:55 +02:00
LICENSE feat: initial draft of a git-annex-ref-mirror command with tests 2026-09-25 08:18:55 +02:00
README.md doc: add initial README 2026-09-25 12:44:08 +02:00

Forgejo Action for mirroring a git-annex repository

This action mirrors a bare git-annex repository to a remote by fetching branch refs, optionally pruning missing branches, force‑updating tags, and merging git‑annex metadata, all without transferring annexed file contents.

Usage

- name: Mirror git-annex repo
  uses: https://hub.datalad.org/git-annex/git-annex-mirror-action@v1

Parameters

The following optional parameters can be given via the with key. Example:

- name: Mirror annex repo
  uses: https://hub.datalad.org/git-annex/git-annex-mirror-action@v1
  with:
    repo: '.'
    remote: 'origin'
    prune: false
    force-tags: false
    quiet: false
Name Default Description
repo . Path to the bare git‑annex repository
remote origin Name of a configured remote to mirror
prune false Delete local branches absent from remote
force‑tags false Force‑update tags from remote
quiet false Suppress informational output

License

MIT