Expand description
Orchestration for krypt update.
Fetches the dotfiles repo from origin (HTTPS only — gix 0.83 has no SSH
transport; see the follow-up issue for the tracking item), fast-forward-
advances the local branch, updates the working tree, then re-runs link
to deploy any new files.
A dirty working tree is always an error: commit, stash, or discard changes
before running krypt update. Auto-stash was removed pending gix gaining
stash support; see the follow-up issue for re-adding it.
§HTTPS-only note
gix 0.83 does not have an SSH transport, so only HTTPS URLs are supported. SSH-based remote URLs will fail with a connection error from gix. This limitation will be lifted once gitoxide ships SSH support.
Structs§
- Update
Opts - Inputs to
update. - Update
Report - Summary returned by a successful
update.
Enums§
- Update
Error - Errors from
update.
Functions§
- update
- Pull the dotfiles repo and re-deploy.