ローカルブランチの削除
構文はこんな感じ
# git branch -d [ブランチ名]
ブランチ名が「test」だった場合
# git branch -d test
warning: deleting branch 'test' that has been merged to
'refs/remotes/origin/test', but not yet merged to HEAD.
Deleted branch test (was 6926787).
#
リモートブランチの削除
構文はこんな感じ
# git push origin :[ブランチ名]
ブランチ名が「test」だった場合は
# git push origin :test
To git@192.168.1.100:hoge/fuga.git
- [deleted] test
#