Git: how to have a project config?
1 answer
Just use the command git config
with no parameter --global
.
Instead
git config --global user.name "lang2"
A type
git config user.name "lang2"
As described in the documentation , global configurations are stored in ~/.gitconfig
, and for each configuration, the repository is in .git/config
.
+7
source to share