Time loop RSS

“What if there is no tomorrow? There wasn’t one today.”

Ask me anything

Mail me

Archive

Dec
22nd
Thu
permalink

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
  1. flyoufoolz reblogged this from time-loop and added:
    You’re welcome damnit.
  2. time-loop posted this