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 An Old-Fashioned Git-Together

Stuck on creating a new repository in a current repository

Create a new repository in the current folder.

I've tried git add and git init methods but its not working. How am i supposed to do it?

3 Answers

git init is the correct command. Did you type anything else before pressing Enter?

I restarted the challenge and used git init and it worked. I think I had done a typing error. Thanks all the same!

Just type git init command it will work

git init is the correct command. Did you type anything else before pressing Enter?