Forrest logo
back to context overview

git-config

List of commands for git-config:

  • git-config:tldr:05248 git-config: List only system configuration entries (stored in `/etc/gitconfig`), and show their file location.
    $ git config --list --system --show-origin
    try on your machine
    explain this command
  • git-config:tldr:22dc6 git-config: Revert a global configuration entry to its default value.
    $ git config --global --unset alias.unstage
    try on your machine
    explain this command
  • git-config:tldr:3b331 git-config: List only global configuration entries (stored in `~/.gitconfig`).
    $ git config --list --global
    try on your machine
    explain this command
  • git-config:tldr:8ea95 git-config: Get the value of a given configuration entry.
    $ git config alias.unstage
    try on your machine
    explain this command
  • git-config:tldr:9b64b git-config: Edit the Git configuration for the current repository in the default editor.
    $ git config --edit
    try on your machine
    explain this command
  • git-config:tldr:c5eec git-config: Edit the global Git configuration in the default editor.
    $ git config --global --edit
    try on your machine
    explain this command
  • git-config:tldr:d73eb git-config: Set the global value of a given configuration entry.
    $ git config --global alias.unstage "reset HEAD --"
    try on your machine
    explain this command
  • git-config:tldr:dda73 git-config: List only local configuration entries (stored in `.git/config` in the current repository).
    $ git config --list --local
    try on your machine
    explain this command
back to context overview