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

PREVIOUS QUIZ...see no folder listing...

So, this is on the previous quiz, not this video....

I'm understanding all these concepts (or so I think, lol), but the previous quiz is asking us to move the git repository without giving any specific direction as to name of new folder, etc. I can't run "ls" or any other commands to see structure.

Did I miss something?

2 Answers

William Li
PLUS
William Li
Courses Plus Student 26,868 Points

Hi there, are you referring to part 3 of the challenge?

Now that we've cleaned up, let's create a repository in a new folder. Call it whatever you'd like.

I'm not sure if the instructor has covered this concept in the earlier video, but you can use this command git init folder to create a new folder and initializes it as git repo in one go.

git init folder_name

Like such. Hope it helps

Hi there,

There's three tasks here. The first is to create a git repo at the current location; git init. The second is to delete that repo; rm -r .git. And the third is to create a repo in another folder, not the current one; git init newfolder

The folder structure is invisible, yes, but the challenge wants the local folder used first, then an imaginary folder to be created in the last example.

I hope that helps!

Steve.