Development Tools Introduction to Git First Commits First Commits

Hammony Dube
Hammony Dube
11,421 Points

Finally, commit the staged file, with a message of "Add chapter 1". Rather than letting Git launch an editor, specify y

Please help me with the code to be entered

2 Answers

Peter Vann
Peter Vann
36,048 Points

Hi Hammony!

The challenge wants you to use the commit command with the -m flag (which allows you to add a message directly to the commit without involving an editor).

This passes:

> git commit -m "Add chapter 1"

I hope that helps.

Stay safe and happy coding!