I use git for software development. I do not use Microsoft OneNote. However, in some contexts OneNote comes up as an option for the right-click menu on things. I accidentally pressed it while trying to do something else with a file that was included in my git repo. I closed out of it, but upon inspecting my git repository, I found it had created a OneNote file in every single directory of my repo.
Furthermore, there is now a git branch labeled
OneNote Table Of Contents.onetoc2 Note that there are spaces in the branch name. I was able to delete all of the OneNote files, but I can't get rid of the extra branch.
Is there an alternative means of deleting a branch besides the git branch -d option? I use Windows 7 Home Premium.