Another Commit problem

HI,

I met another problem when committing. Actually, when I am committing CMakeLists.txt, the following error happens.

error: insufficient permission for adding an object to repository database .git/objects

error: src/CMakeLists.txt: failed to insert into database
error: unable to index file src/CMakeLists.txt
fatal: updating files failed

Is this indeed happening with "commit" (and not "push")? If yes, it
looks like a local problem with your copy of the repository I would
say.

Robin

Hi, Robin,

Thanks for pointing out. I have to sudo to use git commit for some files. I have not met this situation before. Anyway, thanks.

Best,
Hui