You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some repositories on GitHub have a main branch as their default, while others have a master branch. Can you explain under which circumstances Git/GitHub creates "main" as the main branch and when it creates "master" as the main branch?
Steps Taken:
Created a new branch named "initial-branch" from the initial commit using its SHA key.
Answered the provided question in the username.md file, explaining the creation of "main" and "master" branches in GitHub repositories.
Committed the changes to the "initial-branch."
Created a Pull Request from "initial-branch" to "sample-branch" for review and integration.
Condition: You must use the SHA key of the initial commit in any one of the git commands that you will use to complete this task. PR which will be unable to fulfill the condition can be rejected. If your username.md file is not there, then you have to make a new one. Make sure to add the commands you used in the PR description. Failing to do so, Your PR won't be merged.
The text was updated successfully, but these errors were encountered:
Question:
Some repositories on GitHub have a main branch as their default, while others have a master branch. Can you explain under which circumstances Git/GitHub creates "main" as the main branch and when it creates "master" as the main branch?
Steps Taken:
Condition: You must use the SHA key of the initial commit in any one of the git commands that you will use to complete this task. PR which will be unable to fulfill the condition can be rejected. If your username.md file is not there, then you have to make a new one. Make sure to add the commands you used in the PR description. Failing to do so, Your PR won't be merged.
The text was updated successfully, but these errors were encountered: