Expand description
Default identity lookup for prompts.
Uses libgit2’s configuration stack with the usual precedence: the
repository’s .git/config, then ~/.gitconfig / $XDG_CONFIG_HOME/git/config,
then the system config, including [include] files. Environment overrides
that only the git CLI understands (GIT_CONFIG_GLOBAL, GIT_CONFIG_COUNT,
…) are not applied.
Functions§
- get_
git_ user_ email user.emailas Git would resolve it forrepo_path(or globally).- get_
git_ user_ name user.nameas Git would resolve it forrepo_path(or globally).