Delete all git branches except current

git branch | grep -v "^\*" | xargs git branch -D

This entry was posted on Saturday, March 18th, 2017 at 5:25 pm and is filed underUncategorized. You can follow any responses to this entry through theRSS 2.0 feed. You can, ortrackback from your own site.

Alec's Web Log稿源:Alec's Web Log (源链) | 关于 | 阅读提示

本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » 综合编程 » Delete all git branches except current

喜欢 (0)or分享给?

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录

登录

忘记密码 ?

切换登录

注册