Answers for "Remove All Local Branches not on Remote"

0

Remove All Local Branches not on Remote

$ git branch -r | egrep -v -f /dev/fd/0  <(git branch -vv | grep origin) | xargs git branch -d
Posted by: Guest on August-21-2020

Code answers related to "Remove All Local Branches not on Remote"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language