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 Committing Changes

What's wrong with question 2 of the challenge following Working With Git Repositories?

I've tried every permutation of rm, rm -r, /project_folder/, and .git I can think of, and can't come up with the right answer.

4 Answers

Gentlemen, yes. Thank you. I have one more problem: which do I mark as the best answer?

Keith Kelly
Keith Kelly
21,326 Points

Give it to Caleb Viola because he got his answer in first!

It doesn't work when you do:

rm -r .git

?

Keith Kelly
Keith Kelly
21,326 Points

It looks like the question is looking for:

rm -r .git

Shane Barringer
Shane Barringer
15,282 Points

Question about this challenge -

i understand that rm - r .git works, but why won't rm -r project_files/.git work as well?