Suggest an editFor: How to Delete a Git BranchLeave this empty What version are you on? (for example Windows 11 24H2, macOS 26, iOS 18, Chrome 140)Which step?1. Switch to another branch2. Delete the local branch3. Force-delete if the work is unwanted4. Delete the branch on the remote5. Clean up stale remote-tracking branchesA step is missingSomething else on the pageWhat should it say?Screenshot (optional, up to 4 MB)Your email (optional, only if you want a reply)Send suggestionNo account needed. Suggestions are reviewed before anything changes on the site.