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 trialScott James
4,298 PointsGit terminal commands not working
Hi Everyone
I have started to take the course on Git, but I am stuck on the first terminal command.
If I enter the command $ git --version it returns: git version 1.8.5.2 (Apple Git-48). If I then try and enter the command: $ git init my_first-repository it returns: -bash: $: command not found.
Really hoping that some one can give me some advice as to why this isn't working?
Thanks for any help that is offered :) Scott
1 Answer
Scott James
4,298 PointsOk I have just read else where that I do not add the $ in front of the command.
From the article:
"Donβt type the $ character. The $ character is a cue that you should enter a shell command."
Hopefully this might help anyone else who has this issue.