cola.gitcfg – Interface to git config data

class cola.gitcfg.GitConfig

Encapsulate access to git-config values.

get(key, default=None)

Return the string value for a config key.

read_config(path)

Return git config data from a path as a dictionary.

repo()
reset()
update()

Read config values from git.

user()
cola.gitcfg.instance()

Return a static GitConfig instance.

Previous topic

cola.difftool – Difftool helpers

Next topic

cola.gitcmd – Interface to the git command

This Page