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

22
tldr/yadm-init Executable file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# yadm-init
> Initialize a new, empty repository for tracking dotfiles.
> The repository is stored in `$HOME/.local/share/yadm/repo.git`.
> More information: <https://yadm.io/docs/getting_started>.
- Execute:
`yadm init`
- Override the worktree:
`yadm init -w {{path/to/worktree_folder}}`
- Overwrite an existing repository:
`yadm init -f {{path/to/local_repository}}`