From 71be8833383125c064e04c420cc10c0a63da9493 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 7 Mar 2026 22:32:37 +0100 Subject: [PATCH] Update default/bash/fns/worktrees Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- default/bash/fns/worktrees | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default/bash/fns/worktrees b/default/bash/fns/worktrees index 05fb5638..435784be 100644 --- a/default/bash/fns/worktrees +++ b/default/bash/fns/worktrees @@ -26,7 +26,7 @@ gd() { root="${worktree%%--*}" branch="${worktree#*--}" - # Protect against accidentially nuking a non-worktree directory + # Protect against accidentally nuking a non-worktree directory if [[ "$root" != "$worktree" ]]; then cd "../$root" git worktree remove "$worktree" --force