mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-04 14:55:32 +00:00
Update cheatsheets
This commit is contained in:
@@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List local, global or system configuration entries and show their file location:
|
||||
|
||||
`git config --list --{{local|global|system}} --show-origin`
|
||||
`git config {{[-l|--list]}} --{{local|global|system}} --show-origin`
|
||||
|
||||
- Set the global value of a given configuration entry (in this case an alias):
|
||||
|
||||
@@ -35,8 +35,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Edit the local Git configuration (`.git/config`) in the default editor:
|
||||
|
||||
`git config --edit`
|
||||
`git config {{[-e|--edit]}}`
|
||||
|
||||
- Edit the global Git configuration (`~/.gitconfig` by default or `$XDG_CONFIG_HOME/git/config` if such a file exists) in the default editor:
|
||||
|
||||
`git config --global --edit`
|
||||
`git config --global {{[-e|--edit]}}`
|
||||
|
||||
Reference in New Issue
Block a user