Hey. Such a problem. At the beginning, a little incorrectly added a folder from another repository to the repository (forgot to delete the .git meta-folder), made add. commit commit push Everything is somehow flooded on GitHub. But from the web interface to the folder does not go, and to pull on another PC to download just an empty folder.
After fixing the main local repository, it does not work out push.
$ git push Counting objects: 36, done. Delta compression using up to 4 threads. Compressing objects: 100% (35/35), done. Writing objects: 100% (36/36), 11.71 KiB | 1.95 MiB/s, done. Total 36 (delta 15), reused 0 (delta 0) remote: error: object aaa8ce61733a20e8bc12913076e1c949131728c3: nullSha1: contains entries pointing to null sha1 remote: fatal: Error in object error: remote unpack failed: index-pack abnormal exit What else needs to be fixed?
Addition: When executing the command:
git filter-branch --index-filter "git rm --cached --ignore-unmatch Task/*" HEAD Issues:
error: invalid object 160000 0000000000000000000000000000000000000000 for 'Tasks' warning: cache entry has null sha1: Tasks error: invalid object 160000 0000000000000000000000000000000000000000 for 'Tasks' fatal: git-write-tree: error building trees fatal: Not a valid object name could not write rewritten commit 