From adf02552249c84f9a27c40cb44abf70d19aefa73 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Wed, 19 Feb 2020 07:05:07 +0000 Subject: [PATCH] README.md --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 67beb0c..c3db332 100644 --- a/README.md +++ b/README.md @@ -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 +``` +