0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Gitメモ: ブランチ削除

Last updated at Posted at 2024-12-18
// ローカルブランチを削除
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.*'`
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?