The easy way to manage system configuration and dotfiles. Version controlled dotfiles without symlink litter.
- Install Dotdock to a bin directory (
git clone --depth=1 https://github.com/withaspark/dotdock.git $HOME/.dotdock sudo cp $HOME/.dotdock/dotdock /usr/local/bin/dotdock; sudo chmod ugo+rx /usr/local/bin/dotdock
- Create a remote repository to backup or publish configuration files to.
- Configure Dotdock.
cp $HOME/.dotdock/.env.example $HOME/.dotdock/.env
REPO_URLto the URL of the new remote repository created above.
- Initialize Dotdock file repository.
dotdock add FILE dotdock diff [FILE] dotdock init dotdock list dotdock publish dotdock pull [FILE] dotdock rm FILE dotdock save [FILE] dotdock status
Adds a file to the managed configuration files.
Shows the differences between a managed configuration file and the current state of the file.
Inits the managed configuration file repository.
Lists the managed configuration files.
Publishes all local managed configuration files to the repository.
Updates all local managed configuration files with the versions being tracked.
Removes a file from the managed configuration files.
Saves the current state of a managed configuration file to the file repository.
Shows the change status of the managed configuration file repository.
Gets the current version of Dotdock.
Shows help and usage.