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.

Jason Zeall
7,860 PointsStuck here: Add the changes I made to index.html to the staging area? Was this covered in the lesson?
Though it "git add index.html" was adding the file, what about changes made to the staging area? Man, I'm confused.
5 Answers

Ricky Catron
13,023 PointsYou will have to run git commit in order to create a record of the work you have done in the file. Add tells git to keep track of the file but does not tell it what is in side.
I think a metaphor would be like handing someone a box and telling them to keep an eye on it without telling them what is inside.
Goodluck! --Ricky

Husam Almarrani
11,228 PointsI was stuck as well, but I tried: git add index.html, and it worked. I was trying git add "index.html" -m "some message" and it didn't work.

Jeremy Barbe
8,728 Pointsthe way the questions are worded in this service sometimes are confusing as !@$#%

Rodney Buljubasic
Courses Plus Student 13,899 PointsI here you, glad to know I am not alone in this!! :-)

Joyline Tope
7,650 Pointsstill not getting it... been 2hrs now

Ricky Catron
13,023 PointsDid you add the file and commit the file?

Bryan Ramirez
7,938 PointsI though it was commit as well but what they are looking for is --->
git add index.html
Jason Zeall
7,860 PointsJason Zeall
7,860 PointsThanks Ricky. I'm through.