yadm: add pages (#13920)

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
shelton louis
2024-10-01 15:05:50 -04:00
committed by GitHub
parent 82e447291a
commit 5e4d5d2750
16 changed files with 276 additions and 0 deletions

17
pages/common/yadm-init.md Executable file
View File

@@ -0,0 +1,17 @@
# 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}}`