sigildocs

(sigil changes git)

(sigil changes git) - Git operations for release management

Provides high-level git operations for the changes system.

Exports

git-repo?procedure

Check if we're in a git repository

git-root-dirprocedure

Get the root directory of the git repository

Get the current branch name

Get the current commit SHA (short form)

git-addprocedure

Stage a file for commit

git-add-allprocedure

Stage all changes (git add -A)

git-commitprocedure

Create a commit with the given message Returns #t on success, #f on failure

Check if the working tree is clean (no uncommitted changes)

git-tagprocedure

Create an annotated tag

Check if a tag already exists

Get list of files changed between current branch and base

Detect the main branch (main or master)