added instructions on existing repo
This commit is contained in:
parent
beaa8fff5b
commit
b8ee31a757
12
README.md
12
README.md
@ -49,6 +49,18 @@ dotf remote add origin <username>@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)
|
||||
|
Loading…
Reference in New Issue
Block a user