summaryrefslogtreecommitdiff
path: root/leap-platform-test
diff options
context:
space:
mode:
Diffstat (limited to 'leap-platform-test')
-rwxr-xr-xleap-platform-test4
1 files changed, 2 insertions, 2 deletions
diff --git a/leap-platform-test b/leap-platform-test
index 3f14786..2dd7f9e 100755
--- a/leap-platform-test
+++ b/leap-platform-test
@@ -501,8 +501,8 @@ update_platform () {
git fetch
git checkout master
git branch -D $PLATFORM_BRANCH
- git checkout -b $PLATFORM_BRANCH origin/$PLATFORM_BRANCH
-
+ git checkout -f -b $PLATFORM_BRANCH origin/$PLATFORM_BRANCH
+ git clean -fd
git submodule sync
git submodule update --init
}