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 trial

General Discussion

mohammed osman salah
mohammed osman salah
9,587 Points

error: insufficient permission for adding an object to repository database

i am getting this massage on treehouse workspace can any one help what is it?

treehouse:~/workspace/medals$ git add medals.html
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

Can you post a snapshot? Click the camera icon in the upper right corner, then 'Take Snapshot', then post the link created here.

2 Answers

mohammed osman salah
mohammed osman salah
9,587 Points

go to introduction to git third video that talks about first commit workspace i wanted to practice git but i can not add and commit the files in the workspace it is not working and here is screen shot link https://w.trhou.se/g688moi004

mohammed osman salah
mohammed osman salah
9,587 Points

KRIS NIKOLAISEN never mind i am now using linux terminal on virtual machine to practice git
treehouse workspace is not working for me to use git and that is ok thanks any way