🙌

Gitのブランチ削除 リモート/ローカル

2023/04/25に公開

ローカル

git branch -d <branch_name>

マージ済みのブランチで作業する

リモート

git push origin --delete <branch_name>

他者のブランチ反映

git fetch --all --prune

Discussion