1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:02:10 +02:00
tldr/pages/common/yadm-init.md
shelton louis 5e4d5d2750
yadm: add pages (#13920)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2024-10-01 21:05:50 +02:00

376 B
Executable file

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}}