$ git push Username for 'https://github.com': abc@xyz.com Password for 'https://abc@xyz.com@github.com': Enumerating objects: 141, done. Counting objects: 100% (141/141), done. Delta compression using up to 2 threads Compressing objects: 100% (137/137), done. error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8) fatal: the remote end hung up unexpectedly Writing objects: 100% (140/140), 1.23 GiB | 9.97 MiB/s, done. Total 140 (delta 10), reused 1 (delta 0) fatal: the remote end hung up unexpectedly Everything up-to-date $ git add -A $ git commit -m "tech books feb 2021" [main 2bb4082] tech books feb 2021 21 files changed, 83453 deletions(-) delete mode 100755 abc.pdf ... delete mode 100755 def.pdf Deleting large files did not help. Rather it increased the number of items in 'writing objects' log line. The fix is to do a 'git reset --hard [commit hash]' $ git push Username for 'https://github.com': abc@xyz.com Password for 'https://abc@xyz.com@github.com': Enumerating objects: 144, done. Counting objects: 100% (144/144), done. Delta compression using up to 2 threads Compressing objects: 100% (140/140), done. error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8) fatal: the remote end hung up unexpectedly Writing objects: 100% (143/143), 1.24 GiB | 6.00 MiB/s, done. Total 143 (delta 11), reused 1 (delta 0) fatal: the remote end hung up unexpectedly Everything up-to-date -- -- -- Ref: confluence.atlassian.com
Tuesday, March 16, 2021
Git error with code 'err 8'
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment