Written by Sean Behan on Sun Jun 17th 2012

If you've named a branch beginning with two dashes "--", you're sort of in trouble because git interprets your branch name as a switch/flag. You can skip switches all together by supplying two dashes before your branch name

git branch -d -- --index_for_suppliers

and your branch will be deleted!


Tagged with..
#branching #errors #fixes #Git #how to #invalid #workflow #Git

Just finishing up brewing up some fresh ground comments...