CLI command
skarbiec sync-push
Copy the live encrypted vault to the Git mirror, commit it, and push one branch.
Invocation#
skarbiec sync-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 is reported with ok false rather than treated as synchronized.