0

I'm using VS2022, Cloned Git repo locally, did some changes to code, committed the change. Code is up to date (nothing to pull). When I'm trying to push to remote Repo - I get this error:

Pushing master
Enumerating objects: 22, done.
Delta compression using up to 8 threads
Total 18 (delta 8), reused 0 (delta 0), pack-reused 0
Remote: Error: unable to write file //path_to_network_share_with_remove_repo/./objects/tmp_objdir-incoming-a17864/a2/31656d680ed3b8a48ceffc67f25597a10ea9c6: No such file or directory        
Remote: fatal: failed to write object        
Error: remote unpack failed: unpack-objects abnormal exit
To \\path_to_network_share_with_remove_repo\
Error: master -> master (unpacker error)
failed to push some refs to '\\path_to_network_share_with_remove_repo'

Any idea what's wrong? I'm able to write to this 'objects' directory . Also, I'm able to pull changes from remote repo, and even able to commit and push small changes (tried editing 1 file). This particular commit includes deleting, creating , and editing files. Tried multiple times to clone remote repo again to new place, do the changes and commit and push. Any ideas?

Mike
  • 753
  • 1
  • 7
  • 13
  • Have you tried repack? See https://stackoverflow.com/questions/8442695/git-push-failed-unpack-objects-abnormal-exit and https://git-scm.com/docs/git-repack – Christian Apr 13 '22 at 01:03

0 Answers0