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!
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
I'm trying to follow the directions in the video...it's a little confusing because we already downloaded and set up a GIT command line, but in the video the instructor is using the console here on Treehouse. When it was time to commit, the git console asked me who I was and displayed some git config lines for me to give my email and my name. I did that, but now it says:
on branch master Initial commit Untracked files readme.txt Nothing added to commit but untracked files present```
Stone Preston42,016 Points
did you add the files to the staging area before you commited?
you need to add any untracked files first using
git add .
which will add the files in the current directory to the staging area.
then you can run the commit command
I went back and rewatched videos and used the Treehouse console so it wouldn't be confusing and I'm moving forward. Thanks for your help!
Thanks, I think I will soon, but right now, it's easier using Treehouse so I match what the instructor teaches.