Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-06 00:19:54 +00:00
parent e452860d9b
commit 7e39fb6df5
49 changed files with 132 additions and 93 deletions

View File

@@ -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]}}`