diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-09-27 20:45:18 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-09-27 20:45:18 +0300 |
commit | 61a5a5c92faffce99e1097668f83e17828707d86 (patch) | |
tree | 7432001b1db32fa6f882fc10aa7d62ba221b561f | |
parent | don't white-list files in .gitignore (diff) | |
download | linux-home-61a5a5c92faffce99e1097668f83e17828707d86.tar.gz linux-home-61a5a5c92faffce99e1097668f83e17828707d86.zip |
README update
-rw-r--r-- | .README.md | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -7,18 +7,16 @@ Deployment ---------- 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 that have their substitutions present in this repository will -be deleted. +**Be careful** though, some of your files will be **deleted**. +Basically, every file/directory **not** listed in ".gitignore" 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 + curl --silent --show-error --location https://github.com/egor-tensin/cygwin-home/raw/master/.gitignore -o .gitignore git clean -d --force - git remote add origin git@github.com:egor-tensin/cygwin-home.git + git remote add origin https://github.com/egor-tensin/cygwin-home.git git pull origin master git branch --set-upstream-to=origin/master master |