pub async fn commit_all(
repo_path: PathBuf,
commit_message: String,
no_verify: bool,
) -> Result<(), GitError>Expand description
Re-exported commit/sync/diff APIs. Stages all changes and commits them with the given message.
§Arguments
repo_path- Path to the git repository or worktreecommit_message- Message for the commitno_verify- Whentrue, skips configured git hooks such asprek-managedpre-commitandcommit-msghooks (--no-verify)
§Returns
Ok(()) on success.
§Errors
Returns a GitError if staging or committing changes fails.