Personal dotfiles & config
Install yadm using distribution specific package manager.
Install from the standard package repositories.
# apt install yadm
Clone the dotfiles repository using yadm
.
$ yadm clone https://github.com/charliewilson/dotfiles.git
The clone
and pull
command may result in warnings because of pre-existing dotfiles. Overwrite the existing files with commands below.
$ yadm fetch --all
$ yadm reset --hard origin/master
yadm status
will show you any updates to existing added dotfiles
$ yadm status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
modified: .config/Code/User/settings.json
Untracked files not listed (use -u option to show untracked files)
yadm commit -a
autocommits only the modified and deleted dotfiles.
$ yadm commit -a -m "updated settings.json"
$ yadm push
Dotfiles made public under the MIT license.