Functionsยง
- commit_
is_ merge - commit_
is_ pushed - compute_
next_ minor_ tag - Compute the next minor semver tag from latest tag.
- create_
tag - Create a git lightweight tag.
- ensure_
commit_ exists - ensure_
head_ exists - find_
repo_ root - Find the git repository root directory
- get_
commit_ diff - get_
latest_ tag - Returns the latest tag according to git version sorting.
- get_
range_ diff - get_
staged_ diff - Get the output of
git diff --staged - has_
upstream_ branch - head_
is_ merge_ commit - Returns true if HEAD has multiple parents
- is_
head_ commit - is_
head_ pushed - Returns true when HEAD exists on upstream branch
- list_
staged_ files - List staged file paths
- rewrite_
commit_ message - run_
commit - Run
git commit -m "<message>" [extra_args...] - run_
push - Run
git push - undo_
last_ commit_ soft - Undo latest commit, keep all changes staged