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 trialTinashe Musuma
11,921 PointsStuck 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
Sara Chicazul
7,475 Pointsgit init
is the correct command. Did you type anything else before pressing Enter?
Amit Bhavsar
Courses Plus Student 22,528 PointsJust type git init command it will work
NOREST GOMBIRO
15,463 Pointsgit init is the correct command. Did you type anything else before pressing Enter?
Tinashe Musuma
11,921 PointsTinashe Musuma
11,921 PointsI restarted the challenge and used git init and it worked. I think I had done a typing error. Thanks all the same!