githug icon indicating copy to clipboard operation
githug copied to clipboard

Several levels don't recognize default branch not named `master`

Open bakerkretzmar opened this issue 5 years ago • 1 comments

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 🤷‍♂️

bakerkretzmar avatar Sep 30 '20 23:09 bakerkretzmar

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.

Stowaway4331 avatar Oct 31 '23 07:10 Stowaway4331