New repositories use "main" as default branch name#46
Open
etho201 wants to merge 1 commit intoboozallen:masterfrom
Open
New repositories use "main" as default branch name#46etho201 wants to merge 1 commit intoboozallen:masterfrom
etho201 wants to merge 1 commit intoboozallen:masterfrom
Conversation
Contributor
|
@etho201 Thanks for bringing this to our attention. Since you mentioned the 'master' vs 'main', I suspect a change is needed in the documentation for the learning labs. If you don't mind, where in the learning labs did you encounter the name issue? Also,I suggest that you run some testing before submitting a PR. You updated the branch name in a stub on unit tests, but I suspect those tests still worked regardless of the 'master' branch name. Thanks again |
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.
PR Details
New repositories use
mainas default branch name.Description
I ran into issues going through the SDP learning lab because I assumed it was safe to keep my branch defined as
master. Once I inspected my repository I noticed that GitHub now usesmainas the default branch name for new repositories.More info can be found here:
https://github.com/github/renaming
How Has This Been Tested
I did not test this change, but can confirm that new repositories use
mainby default and this may stump new users who are following the SDP learning lab.Types of Changes
Checklist