Lazygit
- Press
3to go to 3. Local Branches panel - Select a branch (using
↓/↑/🖱️) - Press
dto delete the branch
Basic Terminal
git branch -d <branch>If the branch is not merged, you can use -D instead of -d to force delete the branch.
git branch -D <branch>