bash-3.1$ cat ./.git/config [i18n] commitencoding = UTF-8 bash-3.1$ git repo-config --global user.name marco bash-3.1$ git repo-config user.name marco I would expect git repo-config user.name returns an empty string, because user.name is defined _only_ in global config file ~/.gitconfig
From git-config documentation:
--global:: Use global ~/.gitconfig file rather than the repository .git/config. How it is possible to know if a variable is stored in local config file? Thanks Marco - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html