Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-02 00:17:10 +00:00
parent c03ad03251
commit 6db54f9410
23 changed files with 500 additions and 1 deletions

26
tldr/yadm-gitconfig Executable file
View File

@@ -0,0 +1,26 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# yadm-gitconfig
> Pass options to `git config`. Change the `.gitconfig` of the repository managed by `yadm`.
> See also: `git config`.
> More information: <https://github.com/TheLocehiliosan/yadm/blob/master/yadm.md#commands>.
- Update or set a Git configuration value:
`yadm gitconfig {{key.inner-key}} {{value}}`
- Get a value from `yadm`'s Git configuration:
`yadm gitconfig --get {{key}}`
- Unset a value in `yadm`'s Git configuration:
`yadm gitconfig --unset {{key}}`
- List all values in `yadm`'s Git configuration:
`yadm gitconfig --list`