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 trialjulian gallegos
Courses Plus Student 1,361 PointsOops! I just decided we're in the wrong folder. Let's remove the git repository we just created.
For some reason I can't seem to figure out what the second answer is to this quiz. I have re-watched the video and still cannot seem to figure out what the right answer is.
I have thought the answer should be rm -r but that doesn't seem to work.
Thanks!
11 Answers
boris marie
4,099 PointsI find the attached Treehouse video regarding this question extremely unhelpful, I would even go to the extent of saying, not educational. The answer to that question is "rm -r .git And it is on the screen for approx 5 seconds, with just "this is what you do to delete a folder", nothing about what rm is or why -r is used etc... and we're challenged to remember that? Result? = frustration! Please Treehouse do not call yourselves instructors, because you're not, this is showing and demonstrating not instructing. People in programming have forgotten how difficult it can be for newbies to grasp the simplest concept. Please extend, dissect, slow down, explain, chew it down for us. thank you
Iago Wandalsen Prates
21,699 PointsIt wants you to only delete the git repository, not everything on the folder. try rm -r .git
Christian Deciga
5,600 PointsI am typing that command, but it is still not letting me pass the task. =(
julian gallegos
Courses Plus Student 1,361 Pointsthanks that worked! i wasn't putting the ".git" at the end of it.
Brian van Vlymen
12,637 Pointstaking online course, why cant i using rm .git what is -r mean?
Ismael Uriarte
10,403 PointsI think the -r stands for repository
Iago Wandalsen Prates
21,699 Points-r means recursively. That means the action will apply to the folder, and any file inside the folder, including files inside other folders on that folder.
Ismael Uriarte
10,403 PointsThanks Iago. Good explanation.
MUZ140626 Anderson Hove
6,780 Pointsrm-r .git
Michael Matzner
12,651 Pointsboris you the man
Stephen Garner
Courses Plus Student 11,241 Pointsi totally knew how to do this but didn't read the question carefully. thought it was asking me to MOVE the git project folder...and i was like "whaaaa". and then i re-read it and it all made sense.
jonroby
16,113 Pointsjonroby
16,113 PointsBoris, at the beginning of this course they emphasized that if you're not familiar with the console, then you should watch the videos on that! So instead of following their advice, you end up frustrated because you don't know what is taught in an earlier lesson. That is your fault; not theirs. This is as ridiculous as criticizing an instructor of calculus for not covering basic algebra.
Matt Bloomer
10,608 PointsMatt Bloomer
10,608 PointsWhile I find the tone of this post distasteful and disagree with some of its statements, I find myself concurring with its ultimate statement. I for one would appreciate it if in the future if 1)the instructors would slow down a bit, and 2)there could be some minimal reviewing of of how material in previous lessons is applied in the current lesson. Always remembering that you have students at many different knowledge levels and be willing to cater to all of those students is crucial and will make your site better. This is not to say you never do this, but there is definitely room for improvement.