config git

Git saves your system config in /etc/gitconfig , user config in ~/.gitconfig or ~/.config/git/config and repository config in .git/config

Each config will override the previous one so the repository config will override the other config

Config your username and email:

$ git config --global user.name "fx-moon"
$ git config --global user.email fx-moon@outlook.com

To get all the config you can use man git-config or http://git-scm.com/docs/git-config.html .

Pages