Do you want the Git init command to create a branch named master or main? Or maybe you want the default git init branch name to be something completely different? Here I show you how to use one of the most recent changes to the Git versioning control tool, namely the ability to change the default branch name from master to something a little bit more universally acceptable. If you want an example of how to change the default git init branch name, you've come to the right place.
$ git config --global init.defaultBranch main
Смотрите видео Change Git's Init Branch Name Default онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Cameron McKenzie 30 Октябрь 2020. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 836 раз и оно понравилось 12 посетителям.