Error reported when using git push
error: Insert: data stream error (invalid block type)
error: corrupt loose object ‘c8b7f5f344dbfe7d5b7339b977873c21f71478aa’
I tried many methods. Finally, I cleared the local git, fetched it and pushed it again:
rm -rf .git # Delete the local git repository
# Resume local git repository
git init
git remote add origin Your repository link
git fetch # git pull = git fetch + git merge
git reset --hard origin/master
git branch --set-upstream-to=origin/master master
Read More:
- [Solved] Git error: bad signature 0x00000000 fatal: index file corrupt
- [How to Solve] Error: Invalid or corrupt jarfile…
- Stream to MemoryStream to solve Stream.Length error report This stream does not support search operations
- git error:invalid path [How to Solve]
- [Solved] Stream Error: stream has already been operated upon or closed
- How to Solve Docker Error: elasticsearch exception: type=cluster_block_exception, reason=blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];
- [Solved] ERROR A malformed block was encountered while loading a block
- Libtorch Error: Expected object of type Variable but found type CUDALongType for argument #2 ‘index’
- DB2 detects a syntax error in the DRDA data stream: 0x3 ERRORCODE= -4499, SQLSTATE=58009
- [Solved] iperf Analyze Error: unable to create a new stream: Invalid argument
- [Solved] Postcss Error: Invalid options object. PostCSS Loader has been initialized using an options object that does not match the API schema.
- Git push error: error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
- Git fatal: No configured push destination. Either specify the URL from the command-line or co
- Error: (list) object cannot be coerced to type ‘double’
- [Solved] Git submits locally to the remote warehouse Error: failed to push some refs to…
- Git pull and Git pull origin master Warning: Pulling without specifying how to reconcile divergent branches
- [Solved] MongoDB Error: TypeError: Object of type ObjectId is not JSON serializable
- Git: “error: RPC failed; curl 18 transfer closed with outstanding read data remaining”
- Error:invalid new-expression of abstract class type XXX [How to Solve]