rogerxu / git-tips

Tips for Git
Apache License 2.0
2 stars 3 forks source link

Git Config #38

Open rogerxu opened 6 years ago

rogerxu commented 6 years ago

Git - git-config Documentation

rogerxu commented 6 years ago

Config Files

rogerxu commented 6 years ago

git config

List

$ git config --list --show-origin
$ git config --global --list
$ git config --global --edit

Get

$ git config http.proxy

Set

$ git config http.proxy http://localhost:1984

Delete

$ git config --unset http.proxy