I am trying to make an alias to delete a remote branch but I can\'t seem to get it, here is my latest attempt that I really expected to work but no luck.
rmrb =
Maybe a shell function would be easier?
[alias] rmrb = "!f() { git push origin :$1; }; f"
Or you can use sh:
sh
[alias] rmrb = !sh -c 'git push origin :$1' -