eficode-academy / git-katas

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

Fixed typo in defaultBranch config #319 #320

Closed pa-lun closed 2 years ago

pa-lun commented 2 years ago

When creating new bare repo for fake remote usage, default branch name is supposed to be set according to variable declared in utils.sh The git command that creates the repo has the command misspelled and hence the branch name isn't set correctly. This is only noticeable if the user has changed their default branch name config to something else than master.

This patch fixes the typo and the config should now work.

pa-lun commented 2 years ago

Integration test fails due to new git feature introduced in 2.35.2 Fix for this problem implemented in PR #322