diff --git a/tools/op.sh b/tools/op.sh index f01863e1b1c36b..849fd0bff6ccca 100755 --- a/tools/op.sh +++ b/tools/op.sh @@ -327,7 +327,7 @@ function op_switch() { fi BRANCH="$1" - git fetch "$REMOTE" "$BRANCH":"$BRANCH" + git fetch "$REMOTE" "$BRANCH" git checkout -f --recurse-submodules "$BRANCH" git reset --hard "$BRANCH" git clean -df