Skip to content

Do we need to set branch name to main?  #164

@maneesha

Description

@maneesha

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedLooking for Contributorstype:discussionDiscussion or feedback about the lesson

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions