批量删除 git branch |grep 'xxxxx' |xargs git branch -D |xargs:把前面命令的结果给后面 stash https://git-scm.com/book/zh/v1/Git-%E5%B7%A5%E5%85%B7-%E5%82%A8%E8%97%8F%EF%BC%88Stashing%EF%BC%89