mirror of
https://github.com/tj/git-extras.git
synced 2026-09-11 07:56:18 -04:00
This is helpful for those who use the `git-flow` branch model and might be surprised to find that this script deletes their master branch.
4 lines
90 B
Bash
Executable file
4 lines
90 B
Bash
Executable file
#!/bin/sh
|
|
|
|
git branch --merged | grep -v "\*" | grep -v master | xargs -n 1 git branch -d
|