githug
githug copied to clipboard
Several levels don't recognize default branch not named `master`
My default branch name is main and many levels wouldn't accept the solution until I made a new branch called master and attempted there instead.
Affected levels include 4, 16, 19, 20, 23, 28, 33, 34, 37, 41, 47, and probably others. I couldn't work around the issue on level 47 and had to reset my default branch name to master again temporarily, so after that I'm not sure which ones are affected.
I may attempt a PR this weekend but I don't know Ruby so 🤷♂️
If you don't feel like using a workaround for this, use the commands
git config --global init.defaultBranch master
githug reset
All levels will now use master as the default branch.