lc-git icon indicating copy to clipboard operation
lc-git copied to clipboard

Do we need to set branch name to main?

Open maneesha opened this issue 1 year ago • 0 comments

How could the content be improved?

In the git setup section we show that after executing git config --list, one part of the output is init.defaultbranch=main.

A few years ago, the default branch was master. It is now main by default. The step below to set it to main is now unnecessary and may cause confusion because the reference to master no longer exisits.

Which part of the content does your suggestion apply to?

https://librarycarpentry.org/lc-git/02-getting-started.html#setting-up-git

maneesha avatar May 08 '24 14:05 maneesha