Manage custom configuration options for Git repositories. These configurations can be local (for the current repository) or global (for the current user). More information: https://git-scm.com/docs/git-config.
.git/config
in the current repository):git config --list --local
~/.gitconfig
by default or in $XDG_CONFIG_HOME/git/config
if such a file exists):git config --list --global
/etc/gitconfig
), and show their file location:git config --list --system --show-origin
git config alias.unstage
git config --global alias.unstage "reset HEAD --"
git config --global --unset alias.unstage
git config --edit
git config --global --edit