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 trialMarkie Chancellor
10,809 PointsI have no idea what I am doing wrong here on this Git Basics question.
For this question my answer is git add prototype.html then git commit - m. But I keep getting an error message. Thanks in advance for your help.
3 Answers
HIDAYATULLAH ARGHANDABI
21,058 Pointsif you wan to find the status of your repository you need to type
git status
git-status - Show the working tree status
Enjoy Coding
Jay McGavren
Treehouse TeacherIn order, the commands to complete the tasks are:
git status
git add README.md
git add prototype.html
git commit -m "any message you want"
Notice that there's no space between the -
and the m
on that -m
flag. That might be the problem.
Markie Chancellor
10,809 PointsFor some reason I am still getting an error message even after doing what you said.
Jay McGavren
Treehouse TeacherThere are 4 tasks in the challenge; which of the 4 tasks are you getting an error on? What is the error message you're getting? Can you copy the command you're submitting and paste it into this forum thread?
HIDAYATULLAH ARGHANDABI
21,058 PointsPlease tell me the error Markie