I build a bare repo in linux when i use vscode in windows to write codes, and upload linux then git(version 2.17.0) push xxxx master, met this:
Counting objects: 3, done.
Delta compression using up to 16 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 321 bytes | 160.00 KiB/s, done.
Total 3 (delta 1), reused 0 (delta 0)
error: unable to write sha1 filename
./objects/ee/316617d17c8663636d107424531ba42f382f10: Permission denied
To /home/suny/test/git/project/arm
! [remote rejected] master -> master (unable to migrate objects to permanent
storage)
error: failed to push some refs to '/home/suny/test/git/project/arm'
i tested when i write code in linux and git push xxxx master, it`s no error