12/23/2014 - 10:06 AM

git remove branch

git remove branch

To delete a local branch

git branch -d the_local_branch

To remove a remote branch (if you know what you are doing!)

git push origin :the_remote_branch

Someone else has already deleted the branch. try to synchronize your branch list with

git fetch -p

Clean merged remote branchs

git branch -r --merged |  grep origin |  grep -v '>' |  grep -v master |  xargs -L1 |  cut -d"/" -f2- | xargs git push origin --delete