Formatted all pages according to guidelines.

This commit is contained in:
Ruben Vereecken
2016-01-07 18:31:27 +01:00
parent efa4cbd4de
commit 066582e8ea
284 changed files with 1338 additions and 1364 deletions

View File

@@ -1,27 +1,27 @@
# git config
> Get and set repository or global options
> Get and set repository or global options.
- Print list of options for current repository
- Print list of options for current repository:
`git config --list --local`
- Print global list of options, set in ~/.gitconfig
- Print global list of options, set in ~/.gitconfig:
`git config --list --global`
- Get full list of options
- Get full list of options:
`git config --list`
- Get value of alias.ls option
- Get value of alias.ls option:
`git config alias.st`
- Set option alias.ls=status in file ~/.gitconfig
- Set option alias.ls=status in file ~/.gitconfig:
`git config --global alias.ls "status"`
- Remove option alias.st from ~/.gitconfig
- Remove option alias.st from ~/.gitconfig:
`git config --global --unset alias.st`