Skip to main content

Module git

Module git 

Source
Expand description

Git helpers — shells out to the git CLI (matches net.git-fetch-with-cli).

Enums§

GitError

Functions§

checkout
Check out a specific ref in repo — accepts tag / branch / sha.
clone_or_fetch
Clone url into dest if empty; otherwise git fetch in place.
head_sha
Return the current HEAD SHA of repo.