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
In section 3.3 question 2.b has the user specify a git branch command that will allow them to switch to the main branch.
Question
If a user tries the git branch <branch-name> command with an already existing branch name, then they should receive a fatal error and a message that lets them know that branch already exists. I think we should clarify that the command they should use to move between branches is either git checkout <branch-name> or git switch <branch-name>
I've included a screenshot from a random OSS project just to demonstrate that this command should result in an error.
The text was updated successfully, but these errors were encountered:
In section 3.3 question 2.b has the user specify a git branch command that will allow them to switch to the main branch.
Question
If a user tries the
git branch <branch-name>
command with an already existing branch name, then they should receive a fatal error and a message that lets them know that branch already exists. I think we should clarify that the command they should use to move between branches is eithergit checkout <branch-name>
orgit switch <branch-name>
I've included a screenshot from a random OSS project just to demonstrate that this command should result in an error.
The text was updated successfully, but these errors were encountered: