diff --git a/README.md b/README.md index acd1c47..aac33c6 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,18 @@ dotf remote add origin @git.domain.tld/dotfiles.git dotf push ``` +# Adding new computer to existing dotfile repo +``` +mkdir $HOME/.dotfiles +alias dotf='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME' +dotf init +rm .inputrc +rm .bashrc +git remote add origin https://git.rre.nu/jonas/dotfiles.git +dotf fetch origin +dotf checkout main +``` + # To initialize my desktop run ```bash bash <(curl -sL https://git.rre.nu/jonas/dotfiles/raw/branch/master/bin/initDesktop)