Spelling
This commit is contained in:
@@ -26,7 +26,7 @@ gd() {
|
|||||||
root="${worktree%%--*}"
|
root="${worktree%%--*}"
|
||||||
branch="${worktree#*--}"
|
branch="${worktree#*--}"
|
||||||
|
|
||||||
# Protect against accidentially nuking a non-worktree directory
|
# Protect against accidentally nuking a non-worktree directory
|
||||||
if [[ "$root" != "$worktree" ]]; then
|
if [[ "$root" != "$worktree" ]]; then
|
||||||
cd "../$root"
|
cd "../$root"
|
||||||
git worktree remove "$worktree" --force
|
git worktree remove "$worktree" --force
|
||||||
|
|||||||
Reference in New Issue
Block a user