Dec
22nd
Thu
22nd
Remove git branch in local and remote repository
Just put this into your .gitconfig:
[alias]
delbranch = !sh -c 'git br -d $1 && git br -d -r origin/$1 && git push origin :heads/$1' -
Usage:
git delbranch BRANCHNAME