README.md

This commit is contained in:
Shaun Reed 2020-02-19 07:05:07 +00:00
parent 6792c978dd
commit adf0255224
1 changed files with 10 additions and 2 deletions

View File

@ -5,7 +5,7 @@ A place for backing up my dotfiles. Be sure to clone recursively if you want to
Easiest installation is to clone repository into home directory -
```bash
git clone -b i3-debian --recursive https://github.com/shaunrd0/dot ~/dot
git clone -b headless --recursive https://github.com/shaunrd0/dot ~/dot
cd ~/dot/
stow .
```
@ -13,7 +13,7 @@ stow .
If you'd rather clone elsewhere -
```bash
git clone -b i3-debian --recursive https://github.com/shaunrd0/dot /path/to/dot
git clone -b headless --recursive https://github.com/shaunrd0/dot /path/to/dot
cd /path/to/dot/
stow -t ~ .
```
@ -22,3 +22,11 @@ Note that the `dot/packages/` directory is for reference and is the only directo
`stow --adopt .` can be used to install conflicting files, but doing so will result in the loss of your local configurations. If you want to keep them, back up the conflicting files output in the error message before running this command.
After running stow, be sure to check that your repository is clean. If a file has been modified or deleted, checkout again within the repo and it will immediately be restored on your system as well.
```bash
git checkout -- .vimrc
# Or, to step through each change interactively using git..
git checkout -p
```