// ローカルブランチを削除
git branch -d localBranchName
// リモートブランチを削除
git push origin --delete remoteBranchName
// 複数ローカルブランチ削除(Windows PowerShell)
git branch -d (git branch --list '3.2.*').trim()
// 複数ローカルブランチ削除(その他)
git branch -d `git branch --list '3.2.*'`
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme