CLI command
skarbiec mirror push
Copy the live encrypted vault to the Git mirror, commit it, and push one branch.
Invocation#
skarbiec mirror push [--branch <name>] [--message <text>]Purpose#
Copy the live encrypted vault to the Git mirror, commit it, and push one branch.
Required inputs and options#
- No positional input. --branch defaults to main and --message defaults to skarbiec sync.
Output and state effects#
- Copies ciphertext as vault.enc.json, commits when changed, pushes HEAD, appends audit, and prints ok, branch, and Git detail.
Refusals#
- Refuses when no live vault exists; a failed push fails with exit status 1 and 'mirror push: git push origin <ref> failed: <git's own error>' rather than being treated as synchronized.