(sigil changes git)
(sigil changes git) - Git operations for release management
Provides high-level git operations for the changes system.
Exports
git-repo?procedureCheck if we're in a git repository
git-root-dirprocedureGet the root directory of the git repository
git-current-branchprocedureGet the current branch name
git-commit-shaprocedureGet the current commit SHA (short form)
git-addprocedureStage a file for commit
git-add-allprocedureStage all changes (git add -A)
git-commitprocedureCreate a commit with the given message Returns #t on success, #f on failure
git-status-clean?procedureCheck if the working tree is clean (no uncommitted changes)
git-tagprocedureCreate an annotated tag
git-tag-exists?procedureCheck if a tag already exists
git-diff-filesprocedureGet list of files changed between current branch and base
git-main-branchprocedureDetect the main branch (main or master)