0

When I try to add file in a folder using command

git add C:/Application/shipping-prj/*

I get the following error:

error: unable to set permission to '.git/objects/46/5c64008f4ffb1e216ac9ff50a52e1e70078825'
error: C:/Application/shipping-prj/TX14.xml: failed to insert into database
error: unable to index file 'C:/Application/shipping-prj/TX14.xml'
fatal: adding files failed

if I logged out and logged in from the pc it got fixed sometimes. not sure what is causing this issue!

Ahm Sf
  • 11
  • 6
  • 1
    sometimes you have your IDE open ( with some git tool ) locking the repo. Then, when you try to use it from command line get this error. – Mate Apr 22 '22 at 07:57

0 Answers0