Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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.

rydavim
rydavim
18,813 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.