So, I tried to create an orphan branch. I tried a couple of things, and one of them ( git checkout -b --orphan newbranch ) managed to create a branch named "--orphan"; now it will not let me remove it with git branch -d --orphan . I also tried using quotes and escape characters. Nothing is working. I also tried using gitg to delete and rename a branch; it did not work.
How to delete this thread?
git
Shawn J. Goff
source share