Created
December 12, 2012 07:20
-
-
Save migrs/4265766 to your computer and use it in GitHub Desktop.
マージ済みローカルブランチ・リモートブランチの削除
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 --merged | grep feature | xargs git branch -d |
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 -r --merged | grep feature | sed 's#origin/#:#' | xargs git push origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment