Skip to content

modify setup page with new init.defaultBranch main instructions#102

Merged
dcmcand merged 1 commit intoLibraryCarpentry:gh-pagesfrom
srappel:gh-pages
Jun 24, 2021
Merged

modify setup page with new init.defaultBranch main instructions#102
dcmcand merged 1 commit intoLibraryCarpentry:gh-pagesfrom
srappel:gh-pages

Conversation

@srappel
Copy link
Copy Markdown
Contributor

@srappel srappel commented Apr 20, 2021

Addresses issue #99

Git now includes a global setting init.defaultBranch for setting "main" as the default branch name for new local repositories. More Info..

See also: https://github.com/github/renaming

This adds an additional line of code to the setup page as well as an explanation of the code in the following paragraph. This issue caused some confusion while teaching the lesson to beginners. Maintainers may want to consider going into more detail if they think it's appropriate.

Copy link
Copy Markdown
Contributor

@emcaulay emcaulay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this edit! It looks correct and complete to me.

Copy link
Copy Markdown

@ostephens ostephens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be great to see this committed having come across this issue while helping on a lesson today :)

@dcmcand dcmcand merged commit 3437744 into LibraryCarpentry:gh-pages Jun 24, 2021
zkamvar pushed a commit that referenced this pull request Apr 21, 2023
modify setup page with new init.defaultBranch main instructions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants