Git Tracking

By default, Run() auto-tracks Git metadata from the current repository:

  • Dirty state, current branch, remotes
  • Last commit message, ID, author, and date
  • source_code/diff — index vs HEAD
  • source_code/diff_upstream_<sha> — when HEAD differs from the remote tracking branch

Point to a different repository:

run = goodseed.Run(
    git_ref=goodseed.GitRef(repository_path="/path/to/repo")
)Copied!

Disable git tracking entirely:

run = goodseed.Run(git_ref=False)Copied!