Skip to main content

Module git

Module git 

Source
Expand description

Thin wrapper around the git CLI.

Every git interaction in GitWell flows through this module. We shell out via std::process::Command rather than parsing .git internals so we stay compatible with future git changes for free.

Structs§

Repo

Functions§

is_repo_root
Returns true if path looks like a git worktree root (has .git) or a bare repo (has HEAD at the top level).