How to Set the Default Git Branch Name from Master to Main

How to Set the Default Git Branch Name from Master to Main

Cameron McKenzie

3 года назад

10,335 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

singh dilpreet
singh dilpreet - 31.08.2023 08:33

thanks

Ответить
hiant0 hiant0
hiant0 hiant0 - 08.06.2023 21:48

Awesome! Thank you for this, been searching for how to change this for the past hour... And you just explained it in a simple 3 minute video.

Ответить
A.Z. B.
A.Z. B. - 19.04.2023 09:39

Screw BLM

Ответить
Yash Raj
Yash Raj - 22.12.2022 13:20

thank you sir

Ответить
Ricardo Rodríguez
Ricardo Rodríguez - 05.11.2022 02:51

Great!

Ответить
Basma Skaik
Basma Skaik - 11.07.2022 10:26

thanks so much

Ответить
eyescreamcake
eyescreamcake - 23.04.2022 05:10

Most idiotic virtue signalling waste of time and energy I've ever seen. How stupid do you have to be to think that "master branch" has something to do with slavery? Now we all have to change our branch names for compatibility with some white idiot who thinks they ended racism by changing a non-racist word into another non-racist word.

Ответить
HenriqueSenaDev
HenriqueSenaDev - 14.03.2022 04:17

Nice video!

Ответить
Luciano Cavallo
Luciano Cavallo - 11.11.2021 07:56

Hello, I'm using this command, and also checked in "git config -l" it's also setted the init.defaultBranch=main, but when I "git init", it still starts the branch "master"
does anyone has any idea why???
Thank you!!

Ответить
Miguel García
Miguel García - 25.08.2021 04:28

The best video, quickly, accurate and effective. Thank you Cameron

Ответить
Tiago Silva
Tiago Silva - 22.08.2021 00:46

Thanks, man for your explanation.

Ответить