Checkout and reset in one command

This commit is contained in:
Oliver Davies 2015-04-09 01:57:44 +01:00
parent c8124beb3f
commit d19e5abdec

View file

@ -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/ ./