Development Tools Introduction to Git First Commits Git Overview

Zachary Reed
Zachary Reed
7,476 Points

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

KRIS NIKOLAISEN
KRIS NIKOLAISEN
54,287 Points

You need a space between git and the dashes.

git --help

Zachary Reed
Zachary Reed
7,476 Points

Awesome. Thank you so much!

I concur. I noticed right away that there was no space. Sorry for the the late reply.

Zachary Reed
Zachary Reed
7,476 Points

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

jlampstack
jlampstack
22,752 Points

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

jlampstack
jlampstack
22,752 Points

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