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

Bummer: You don't need to pass any command-line options.

I removed the command line option and its still not working. Could someone help me?

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi, Thea Partin! I received your request for assistance. It'd be helpful to know what step of the challenge you're on and what you've tried :smiley:

Looking forward to hearing back! :sparkles:

git -a "chapter1.txt" Jennifer Nordell

Add the file chapter1.txt to the staging area for committing. Jennifer Nordell

2 Answers

In this case, it's not really a Git-oriented command, per se... It's a common terminal/command line (bash shell) command.

This passed for me:

cd novel

...which assumes that 'novel' is a subdirectory of your current working local directory. You can use:

ls

to list all files & folder (contents) in/of the current directory to know for sure. More info: https://www.educative.io/blog/bash-shell-command-cheat-sheet

I'm working with git for this exercise.

I figured it out its git add chapter1.txt