4 Comments
User's avatar
Steve's avatar

answer: git config --global init.defaultBranch my_branch_name

Expand full comment
Lucas's avatar

Thanks!

Expand full comment
DH's avatar

If you take the etymology of "master copy" back one additional step, you just get right back to the master-slave metaphor.

Expand full comment
Steve's avatar

right. but how do I change the git client's default branch name, you know, like the title suggests?

Expand full comment