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

Challenge Task 2 of 3: Having trouble removing the initial git created in Task 1. Tried rm, rm -r, rm -rf

Will appreciate any help or reference to solving this.

3 Answers

Sreng Hong
Sreng Hong
15,083 Points

Hi Lisa

I suggest you to rewatch the previous lecture(Working With Git Repositories) again and the answer is at 4:33. Hope you get this one. :D


Thanks for your response Sreng. Sadly, I'm still not able to pass the task. The video I am watching is over at 4:33 At 4:02 I see this code: "…We can do that just by renaming the folder." treehouse ~ $ rm -r my_even_cooler_project/.git

In the first task window, I passed with: git init. In the second task, I've tried: rm -r and rm -r/.git and several other combinations, but am still missing the right one.

I figured it out rm -r .git