Notebook

これは日々の作業を通して学んだことや毎日の生活で気づいたことをを記録しておく備忘録である。

HTML ファイル生成日時: 2025/11/23 20:31:30.065 (台灣標準時)

git push としたときの error: RPC failed

git push したときに、以下のような問題が起きてしまい、どうすれば解決で きるのかわからなかったでござる。


% git push
Enumerating objects: 22, done.
Counting objects: 100% (22/22), done.
Delta compression using up to 6 threads
Compressing objects: 100% (20/20), done.
error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (20/20), 4.82 MiB | 2.71 MiB/s, done.
Total 20 (delta 12), reused 0 (delta 0), pack-reused 0 (from 0)
fatal: the remote end hung up unexpectedly
Everything up-to-date

調べてみると、以下のコマンドを実行すれば解決するかもしれないということ がわかったでござる。


% git config http.postBuffer 524288000

上のコマンドを実行した後に、 git push を実行してみたら、今度は上手くいっ たでござる。


% git push
Enumerating objects: 22, done.
Counting objects: 100% (22/22), done.
Delta compression using up to 6 threads
Compressing objects: 100% (20/20), done.
Writing objects: 100% (20/20), 4.82 MiB | 5.61 MiB/s, done.
Total 20 (delta 12), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Resolving deltas: 100% (12/12), completed with 2 local objects.
To https://github.com/kinoshitadaisuke/ncu_doing_astrophysics_using_python_202402.git
   944944d..c6e7410  main -> main



Frequently accessed files

  1. Misc___Taiwan/20240207_00.html
  2. Computer___TeX/20231107_00.html
  3. Computer___TeX/20230726_01.html
  4. Computer___NetBSD/20220506_0.html
  5. Misc___Taiwan/20240903_01.html
  6. Computer___NetBSD/20250307_00.html
  7. Misc___Taiwan/20210215_0.html
  8. Photo___Taiwan/20220711_1.html
  9. Computer___Python/20220715_0.html
  10. Food___Taiwan/20230622_13.html
  11. Food___Taiwan/20230622_25.html
  12. Science___General/20220615_0.html
  13. Computer___NetBSD/20230121_00.html
  14. Travel___Taiwan/20230725_03.html
  15. Computer___NetBSD/20240101_02.html
  16. Computer___TeX/20240411_00.html
  17. Food___Taiwan/20230611_06.html
  18. Computer___Network/20231225_00.html
  19. Computer___Network/20240130_00.html
  20. Misc___Japan/20240718_00.html
  21. Computer___NetBSD/20220422_0.html
  22. Travel___Taiwan/20210225_5.html
  23. Computer___TeX/20240414_00.html
  24. Food___Taiwan/20230610_00.html
  25. Computer___NetBSD/20241223_00.html
  26. Computer___Hardware/20240820_00.html
  27. Computer___NetBSD/20250312_00.html
  28. Computer___NetBSD/20241102_00.html
  29. Food___Taiwan/20230624_15.html
  30. Misc___Taiwan/20240819_00.html


HTML file generated by Kinoshita Daisuke.