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 Introduction to Git First Commits Git Overview

git--help doesn't work,

When I type git--help and press enter, the workspace terminal tells me that the command cannot be found. I am using a Chromebook so maybe that's the reason why?

3 Answers

You need a space between git and the dashes.

git --help

Awesome. Thank you so much!

Make sure your repository is initialized before using any git commands. To initialize a repository use the command git init

My comment above is assuming you are working on a local environment.

No worries! Thank you for confirming that with me:)