DEV Community

Bahriddin Mo'minov
Bahriddin Mo'minov

Posted on • Edited on

5 3 1

Gitda odatiy (default) branch nomini o'zgartirish

Git 2.28 tanqinidan oldin, git init ishlatilganda standart branch nomi master hisoblanadi.

Odatiy (default) filial nomini o'zgartirish uchun quidagi buyruqdan foydalaning

git config --global init.defaultBranch [new default name]
Enter fullscreen mode Exit fullscreen mode

Batafsil ma'lumotni bu yerda topishingiz mumkin.

Manba: https://dev.to/jgunawancode/change-git-default-branch-name-523l

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please show some love ❤️ or share a kind word in the comments if you found this useful!

Got it!