Permalink
Browse files

Add rollback

  • Loading branch information...
1 parent 9821840 commit 4e977ffef979d997f7957492f4ca6fd33d9483a6 @saleyn saleyn committed May 26, 2010
Showing with 6 additions and 1 deletion.
  1. +6 −1 bin/update_docs
View
@@ -15,6 +15,11 @@ git rm -fr src vsn.mk
mv doc/* .
rmdir doc
-git commit -a
+set +e
+if !git commit -a ; then
+ git reset --hard
+fi
+set -e
+
git push origin
git co master

0 comments on commit 4e977ff

Please sign in to comment.