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

repository basics 2/3

under git basics, repository basics challenge 2/3 it asks:

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

Where do i move it? do I just use the mv command?

4 Answers

Hi Daniel! The mv command is rename, while the question asks for it to be removed. Go to about 3:50 in the video and that should explain how to remove it.

Hope this helps! :)

Aha, that worked thanks!

No problem! Happy to help! :)

Guys, sorry could you explain why isn't this command working:

$ rm -r ~/project_folder/.git/

Remove, recursively, the folder in Home/Project_Folder/.git

Russell Christensen
Russell Christensen
4,264 Points

The video states that to remove a repository you should enter:

rm -r project_folder/.git 

This did not work for me in this challenge. Instead, I used

rm -r .git