From 0ba559c93eb89dc74f2c068282a4aafab115f7bb Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Thu, 28 May 2020 12:32:45 -0500 Subject: [PATCH] Better install --- gs-install.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gs-install.sh b/gs-install.sh index 39fca56..1380522 100644 --- a/gs-install.sh +++ b/gs-install.sh @@ -1,5 +1,8 @@ #!/bin/bash -cd $HOME -git clone https://github.com/vmstan/gravity-sync.git -cd gravity-sync \ No newline at end of file +mkdir $HOME/gravity-sync +cd gravity-sync +git init +git remote add origin https://github.com/vmstan/gravity-sync.git +git fetch +git checkout origin/master -fr \ No newline at end of file