modify setup page with new init.defaultBranch main instructions#102
Merged
dcmcand merged 1 commit intoLibraryCarpentry:gh-pagesfrom Jun 24, 2021
Merged
modify setup page with new init.defaultBranch main instructions#102dcmcand merged 1 commit intoLibraryCarpentry:gh-pagesfrom
dcmcand merged 1 commit intoLibraryCarpentry:gh-pagesfrom
Conversation
emcaulay
approved these changes
Jun 21, 2021
Contributor
emcaulay
left a comment
There was a problem hiding this comment.
Thank you for this edit! It looks correct and complete to me.
ostephens
approved these changes
Jun 24, 2021
ostephens
left a comment
There was a problem hiding this comment.
would be great to see this committed having come across this issue while helping on a lesson today :)
zkamvar
pushed a commit
that referenced
this pull request
Apr 21, 2023
modify setup page with new init.defaultBranch main instructions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses issue #99
Git now includes a global setting
init.defaultBranchfor 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.