diff --git a/scripts/wc2wt.sh b/scripts/wc2wt.sh index ab76c841d4..157881b458 100755 --- a/scripts/wc2wt.sh +++ b/scripts/wc2wt.sh @@ -37,7 +37,6 @@ dir=$(basename $(pwd)) # sanitize branch name for directory name (replace / with -) dir_suffix=$(echo "$BRANCH" | tr '/' '-') -git branch -D "$BRANCH" 2> /dev/null git worktree add -b "$BRANCH" "../$dir-$dir_suffix" HEAD og_path=$(pwd)