Skip to main content

Module git

Module git 

Source

Functions§

archive
Run git archive and return the archive bytes.
info_refs
Run git info/refs advertisement (for both v1 and v2).
init_bare
Initialize a bare git repo with all features enabled.
run_pack
Run git upload-pack or receive-pack (stateless RPC).
spawn_git
Run git upload-pack or receive-pack directly (for SSH, non-stateless). Returns the child process for piping.
spawn_upload_archive
Run git-upload-archive for SSH transport.