Stop force-pushing to gh-pages

This commit is contained in:
Aanand Prasad 2014-01-27 21:43:37 +00:00
parent 140ccc7d4e
commit 5e5bd939be
1 changed files with 4 additions and 1 deletions

View File

@ -15,12 +15,15 @@ if !(git remote | grep origin); then
git remote add origin git@github.com:orchardup/fig.git
fi
git fetch origin
git reset --soft origin/gh-pages
echo ".git-gh-pages" > .gitignore
git add -u
git add .
git commit -m "update" || echo "didn't commit"
git push -f origin master:gh-pages
git push origin master:gh-pages
popd