mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-03 09:43:24 +00:00
23 lines
469 B
Plaintext
Executable File
23 lines
469 B
Plaintext
Executable File
---
|
|
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}}`
|