We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15ec2e3 commit 18ac1deCopy full SHA for 18ac1de
lib/core.sh
@@ -375,7 +375,7 @@ create_worktree() {
375
log_step "Branch '$branch_name' exists on remote"
376
377
# Create tracking branch first for explicit upstream configuration
378
- if git branch --track "$branch_name" "origin/$branch_name" 2>/dev/null; then
+ if git branch --track "$branch_name" "origin/$branch_name" >/dev/null 2>&1; then
379
log_info "Created local branch tracking origin/$branch_name"
380
fi
381
0 commit comments