Answers for "git clean local branches"

2

git clean local remote branch

git fetch origin --prune
Posted by: Guest on October-13-2020
3

clean local branches git

git branch --merged master | grep -v '^[ *]*master$' | xargs git branch -d
Posted by: Guest on July-31-2020
0

git clean local branches

git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -d
Posted by: Guest on June-01-2021

Code answers related to "git clean local branches"

Browse Popular Code Answers by Language