From d19e5abdec08617e655b8a45fb9306a036bfba39 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 9 Apr 2015 01:57:44 +0100 Subject: [PATCH] Checkout and reset in one command --- build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.sh b/build.sh index efdfcf966..1cb5ab5a4 100755 --- a/build.sh +++ b/build.sh @@ -12,8 +12,7 @@ git clone git@github.com:opdavies/opdavies.github.io.git ./gh-pages-deployment/ pushd ./gh-pages-deployment/ -git checkout master -git checkout -b master +git checkout -B master rsync --quiet --archive --filter="P .git*" --delete ../output_prod/ ./