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 trialian sobo
3,851 Pointslets create a new git repository inside of a new folder. Call if whatever you'd like DOES NOT TAKE CORRECT INPUT
very important, and VERY ANNOYING BUG HERE. If you type in "git init new_project/" like you can in Linux, it will NOT accept it with the slash on the end. this should be corrected!!!!!!!
3 Answers
Mahmoud Dafer
9,793 Pointswell, I think it should not contain the "/" at the end.. i tried what u wrote but it says that it's wrong. Eventually, removing the "/" worked :)
fodhil zidane
24,020 Pointsthe answer is: git init project_something
Joshua Edwards
52,175 PointsThe only way I can think of the above command not working is if git was installed on windows in a way that you didn't have git commands available to the windows command line. If that is the case, then using the git bash program which you can find inside of the git folder, should be used in place of the windows command line.
If using a Mac or Linux the command should work, at least with my testing of it.
moonshine
8,449 Pointsmoonshine
8,449 PointsAre you using Windows or Mac? Certainly works on my Linux partition. I could try on Windows. Perhaps running an update will fix it. Is this problem that important though?