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 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