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

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

Sreng

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