Skip to main content

Module git

Module git 

Source
Expand description

Git command abstractions (sync).

Functionsยง

checkout_new_branch
Create and switch to a new branch.
clone_local
Clone from a local repo directory (fast, shares objects via hardlinks).
clone_shallow
Shallow-clone a repo (single branch, depth 1).
clone_shallow_with_env
Shallow-clone a repo with extra environment variables.
cmd
Run a git command in a directory and return stdout.
cmd_with_env
Run a git command with extra environment variables.
config_set
Set a git config key in a repo.