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 trialLucas Garcia
6,533 PointsMany errors with git add metals.html
When I try and run the git add metals.html command I receive the follow errors: error: insufficient permission for adding an object to repository database .git/objects error: medals.html: failed to insert into database error: unable to index file medals.html fatal: adding files failed
Thank you.
1 Answer
Spencer Renfro
Courses Plus Student 11,133 PointsI had issues with mine, but this is what worked for me: git add medals/medals.html Mine was not able to find the medals.html file without going through the medals folder first.
Ân Nguyễn Hoà ng
Courses Plus Student 3,980 PointsÂn Nguyễn Hoà ng
Courses Plus Student 3,980 PointsHi, Lucas Garcia! I had a same bug like you. I think in the future teamtreehouse's engineer will fix it. For now, I'd suggest doing this from your own machine. Hope this helps!
p/s: maybe in the next time, you can use the markdown for uploading the question. For example: