Checkout and reset in one command
This commit is contained in:
parent
c8124beb3f
commit
d19e5abdec
1 changed files with 1 additions and 2 deletions
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/
|
||||
|
||||
git checkout master
|
||||
git checkout -b master
|
||||
git checkout -B master
|
||||
|
||||
rsync --quiet --archive --filter="P .git*" --delete ../output_prod/ ./
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue