Назад към всички

remove-git-worktree

// git worktreeを削除します。間違えて作成した場合や、作業完了後のクリーンアップに使用します。

$ git log --oneline --stat
stars:194
forks:37
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
nameremove-git-worktree
descriptiongit worktreeを削除します。間違えて作成した場合や、作業完了後のクリーンアップに使用します。

Remove Git Worktree

Instructions

以下のコマンドを実行して、git worktreeを削除します。 引数には削除するブランチ名を指定してください。

bash scripts/remove-worktree.sh [ブランチ名]