From fea5ccf0f1741b99b11ba2a2153118eaf3f8e927 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 10 May 2020 00:07:16 +0300 Subject: [PATCH] Correct installation instructions. Better way to clone in an existing home directory. --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3803314..b9aa53a 100644 --- a/README.md +++ b/README.md @@ -13,14 +13,15 @@ mass consumption as it is. *WARNING: This will overwrite your existing files.* -``` -cd -git clone --bare https://www.shore.co.il/git/rcfiles .git -sed -i '/bare/d' .git/config -git reset --hard -git bull -Documents/bin/install-git-hooks -``` + cd + git init + git remote add origin https://www.shore.co.il/git/rcfiles + git fetch + git reset --hard origin/master + git branch --set-upstream-to=origin/master + git bull + Documents/bin/install-git-hooks + .githooks/post-merge ## Dependencies -- GitLab