Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Development Tools Introduction to Git First Commits First Commits

Noelle Lewis
Noelle Lewis
7,895 Points

I thought when committing files you had to provide a message to go with it + that message had to be followed by a string

so why isnt this working?

Can you post what you entered?

1 Answer

Steven Parker
Steven Parker
216,810 Points

The message to go with it is optional, but the challenge task asks you specifically to include it by using the "-m" option.

If you believe you're giving the correct command, show your command line here so we can take a look.