Development Tools Introduction to Git First Commits First Commits

Lucas Garcia
Lucas Garcia
2,449 Points

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

Ân Nguyễn Hoàng
Ân Nguyễn Hoàng
Pro Student 3,653 Points

Hi, 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:

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