6/8 Git workflow

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are asking about.>
https://www.codecademy.com/courses/learn-git/lessons/git-teamwork/exercises/workflow

<Below this line, describe in what way does your code behave incorrectly? Include ALL error messages.>
I am stuck at exercise 2: Enter the Git command: git branch <branch_name>
to create a branch to develop questions for the biology quiz. Name the branch bio-questions.
I did write git branch bio-questions, but I kept getting message saying A branch named “bio-question” already exists.

<Below this line, add a screenshot of your whole web browser so that we can see what you see.>

Okay! Since the branch already exists, you could delete, then create anew.

git branch -d branch_name

Or doing it the hard way (forceful delete) with:

git branch -D branch_name

Then, do as in the instruction again.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.