DEV Community

Discussion on: Master Git in 7 minutes

Collapse
 
mehtab2899 profile image
Mehtab Multani

If you using latest version of git then use:
git config --global init.defaultBranch main