Here is git command to cleanup local branch and sync with remote :
1 | git branch –merged | grep -v "\*" | egrep -v "master|dev" | xargs -n 1 git branch -d |
Here is git command to cleanup local branch and sync with remote :
1 | git branch –merged | grep -v "\*" | egrep -v "master|dev" | xargs -n 1 git branch -d |