Checkout and reset in one command
This commit is contained in:
parent
c8124beb3f
commit
d19e5abdec
3
build.sh
3
build.sh
|
@ -12,8 +12,7 @@ git clone git@github.com:opdavies/opdavies.github.io.git ./gh-pages-deployment/
|
||||||
|
|
||||||
pushd ./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/ ./
|
rsync --quiet --archive --filter="P .git*" --delete ../output_prod/ ./
|
||||||
|
|
||||||
|
|
Reference in a new issue