cli.sgit.ai / Command reference / sgit commit

sgit commit

Commit local changes to the clone branch.

Generated from sgit help all --format json, sgit-ai v0.23.0. No subcommands. To change this page, change the command's register() in the CLI and regenerate.

sgit commit [options] [message]
ArgumentWhat it is
messageoptionalCommit message (auto-generated if omitted)
OptionWhat it does
--allow-deletionsIn sparse clones, allow files absent from disk to be deleted (default: preserve unfetched entries)
--allow-secret-fileCommit PATH although it looks like a vault secret (a zip with a key file in it); names one file, repeatable
--amendReplace the last commit (not yet pushed) with the working copy and/or a new -m message
-d, --directoryVault directory (default: .)
-m, --messageCommit message via flag (git-style). Overrides the positional arg.

This page as markdown · its source, admin/content/reference/sgit-cli-reference.json