One observation to be made is if you for some reason has another branch that has "main" as part of its name, this command would not delete it. Maybe grep -v "^\*\? *main$", but then its getting already too complicated... 😅
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
One observation to be made is if you for some reason has another branch that has "main" as part of its name, this command would not delete it. Maybe
grep -v "^\*\? *main$", but then its getting already too complicated... 😅