From eee581983f09b53dc937d7093a6eb229b8086d86 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 14 Mar 2026 18:26:56 +0000 Subject: [PATCH 1/2] Initial plan From 72264681b33c7e5041eeec15c3af0c09e731b09f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 14 Mar 2026 18:28:07 +0000 Subject: [PATCH 2/2] git-co: remove unintentional git pull --all after git switch -c Co-authored-by: mlutonsky <423848+mlutonsky@users.noreply.github.com> --- git-co | 3 --- 1 file changed, 3 deletions(-) diff --git a/git-co b/git-co index 439d9de..27a8270 100755 --- a/git-co +++ b/git-co @@ -148,7 +148,6 @@ co() { # Try to create from origin first if git rev-parse --verify "origin/$1" >/dev/null 2>&1; then git switch -c "$1" "origin/$1" - git pull --all else # Branch doesn't exist, try to find similar branches local similar_branches @@ -165,7 +164,6 @@ co() { git switch "$branch_name" elif git rev-parse --verify "origin/$branch_name" >/dev/null 2>&1; then git switch -c "$branch_name" "origin/$branch_name" - git pull --all fi else echo "Branch '$1' not found. Did you mean one of these?" @@ -182,7 +180,6 @@ co() { git switch "$branch_name" elif git rev-parse --verify "origin/$branch_name" >/dev/null 2>&1; then git switch -c "$branch_name" "origin/$branch_name" - git pull --all fi fi fi