chickadee » git » config-path

config-path #!optional typeprocedure

Returns the path to a Git configuration file, if one exists. type may be a symbol specifying the type of path to search, either user, system or xdg, to request the path to the configuration for the current user, the system-wide Git installation, or the configuration file path specified by the XDG standard (".config/git/config"), respectively. type defaults to user. An error is signalled if no configuration file is found at the requested location.