Last active
November 29, 2016 07:18
-
-
Save ayies128/da4987fb1992b174424cd3813654cbba to your computer and use it in GitHub Desktop.
delete local branch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# マージしたものだけ消す | |
% git branch --delete [branch名] | |
# マージ関係なく消す | |
% git branch -D [branch名] | |
# 全部消す | |
% git branch --merged | grep -v '*' | xargs git branch -D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment