Function create_commit
Source pub fn create_commit(message: &str) -> Result<CommitResult>
Expand description
Create a git commit with the given message
§Arguments
message - The commit message
§Returns
CommitResult::Success(hash) - Commit created with short hash
CommitResult::NothingToCommit - No changes to commit
CommitResult::Error(msg) - Commit failed