I've created a remote branch whose name starts with a hashtag mark and I've quickly learnt it's a bad idea as # is considered as a comment mark by git.
Therefore, I would like to delete that branch now but I can't find a proper way to do so… I've tried :
git push origin --delete <#branch_name>
git push origin --delete -- <#branch_name>
But git always returns this error message
fatal: --delete doesn't make sense without any refs.
So how can I walk around that issue ?