Having trouble with 9.delete Branch

Cant Finish the exercise

1 Like

Hey man! had the same problem but found out how to fix it:

If you type in the terminal “git branch” it shows you a list of all branches you have. The exercise will be complete if you have only your master branch left, so the simplest thing to do is to delete all other branches it lists. So in my case the terminal looked like this:

$ git branch

  • master
    $ git branch -d new_branch
    Deleted branch new_branch (some SAH).

Maybe this works for you aswell?

Happy programming,


I had the same problem, thanks for your answer.

Thank you so much! This was very helpful.

Thanks. your answer helped me Thumbs up for you!

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