cola.gitcmd – Interface to the git command

class cola.gitcmd.GitCola

Subclass git.Git to provide custom behaviors.

GitPython throws exceptions by default. We suppress exceptions in favor of return values.

git_dir()
git_path(*paths)
is_valid()
load_worktree(path)
worktree()
cola.gitcmd.instance()
Return the GitCola singleton

Previous topic

cola.gitcfg – Interface to git config data

Next topic

cola.gitcmds – Helper commands for git

This Page