LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

yadm-init

Initialize new yadm dotfiles repository

TLDR

Initialize a new yadm repository
$ yadm init
copy
Force reinitialization of an existing repository
$ yadm init -f
copy
Initialize with a custom worktree path
$ yadm init -w [path/to/worktree]
copy

SYNOPSIS

yadm init [-f] [-w dir]

DESCRIPTION

yadm init creates a new, empty repository for tracking dotfiles. The repository is initialized at $HOME/.local/share/yadm/repo.git with $HOME as the default work-tree. This is the first step for starting dotfiles management with yadm.If a repository already exists, the -f flag is required to force reinitialization.

PARAMETERS

-f

Force reinitialization of an existing repository.
-w dir
Override the default work-tree ($HOME) with the specified directory.

SEE ALSO

Copied to clipboard
Kai