aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-04-27 02:39:55 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-04-27 02:39:55 +0300
commit442d0888ebb13fbf3ee1cdd0f44c28025173d161 (patch)
tree6d35a121ceb3ea915756d38fe0fc3b11bb973443
parentbackup_repo: bugfix (diff)
downloadlinux-home-442d0888ebb13fbf3ee1cdd0f44c28025173d161.tar.gz
linux-home-442d0888ebb13fbf3ee1cdd0f44c28025173d161.zip
README update
-rw-r--r--.README.md15
1 files changed, 12 insertions, 3 deletions
diff --git a/.README.md b/.README.md
index ea59c92..2aff8cd 100644
--- a/.README.md
+++ b/.README.md
@@ -1,9 +1,18 @@
-# Cygwin home (~) configuration
+My Cygwin home (~) configuration files
-## Deploying on a fresh Cygwin installation
+To deploy on a fresh Cygwin installation, execute the lines below.
+**Be careful** though, some of your files might get **deleted**.
+Namely, your `.gitignore` file (if present) will be overwritten and basically
+all of your files this repository isn't aware of will be deleted.
+Execute the lines below one-by-one and, **most importantly**, review the list
+of files `git clean` will delete by adding the `--dry-run` parameter.
git init
+ curl --silent --show-error --location https://github.com/egor-tensin/cygwin_home/raw/master/.gitignore > .gitignore
+ git clean -d --force
+
git remote add origin git@github.com:egor-tensin/cygwin_home.git
- git clean -fd
git pull origin master
git branch --set-upstream-to=origin/master master
+
+The deployment should preferably take place right after you install Cygwin.