Set the global value of a given configuration entry

git config

  • 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>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

git config --global alias.unstage "reset HEAD --"

click the source code to copy install git config on any operating system with command-not-found.com