From a15ef4c261256ece69c0ec10ee4b39d5a6aa1087 Mon Sep 17 00:00:00 2001 From: Priit Tamboom Date: Mon, 6 Oct 2014 14:17:26 +0300 Subject: [PATCH] Added alternative git reset to robot --- bin/robot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/robot b/bin/robot index 1b682c15a..5ce531c9b 100755 --- a/bin/robot +++ b/bin/robot @@ -8,7 +8,8 @@ set -o pipefail cd "$(dirname "$0")"; cd .. git pull origin master -git --git-dir=. --work-tree=$PWD/.. reset --hard +git reset --hard +unset GIT_DIR GIT_WORK_TREE setuser app bundle install --deployment