Spelling
This commit is contained in:
1 parent
e58ac44a0d
commit
3306c428dd
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user