Why cant i delete a local Git branch in IntelliJ?

bhe*_*boo 2 git github intellij-idea

So Im new to Git, and to test i have created the local Branch "test". But for some reason, I can not delete it, just the master branch. I just dont have the option to do that, but there is not a single person on the internet that asked the same question, 看这里

小智 6

尝试通过结帐切换到另一个分支(例如 master 或 main)。然后你的分支将被删除。