eficode-academy / git-katas

A set of exercises for deliberate Git Practice
MIT License
1.32k stars 860 forks source link

Typo in make-bare-remote-repo causes default branch name not to be set properly #319

Closed pa-lun closed 2 years ago

pa-lun commented 2 years ago

When creating new bare repo the default name config isn't set properly due to a typo in the script. If the user has set an other default name than master in their git config this will cause problems in some exercises. It was detected in the advanced-rebase-interactive-kata where the remote tracking wasn't set up as expected for a user using main as default branch name