Skip to main content

commit_changes

Function commit_changes 

Source
pub fn commit_changes(message: &str) -> Result<()>
Expand description

Execute git commit

Use git CLI instead of git2 to support:

  • GPG signature (commit.gpgsign, user.signingkey)
  • Git hooks (pre-commit, commit-msg, etc.)
  • All git config configurations

ยงArguments

  • message - Commit message