Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Development Tools Git Basics Getting Started With Git Repository Basics

I entered the same code from the video but it's not working. Can you please help me?

Challenge: Oops! I just decided we're in the wrong folder. Let's remove the git repository we just created.

I entered the same code from the video. I don't know what's going on.

2 Answers

Milan Bogdanovic
Milan Bogdanovic
9,922 Points

Try the following: rm -rf .git That worked out for me.

Mod Note - Changed from comment to answer so this may be voted on or marked as best answer.

18,780 Points

This should work, but remember to be careful with the -f option. Always double check that you're doing what you mean to do and only what you mean to do if you're going to force it.

Not something you need to worry about for this challenge, but definitely keep it in mind when using it on your own computer.

Hi, I figured it out. It was a spacing issue.