thesuhu

Git Troubleshoting

Aug 19th, 2021 (edited)
1,666
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.43 KB | None | 0 0
  1. # melihat verbose proses git, tambahkan ini sebelum perintah git. Linux gunakan export, Windows gunakan set
  2. export GIT_TRACE_PACKET=1
  3. export GIT_TRACE=1
  4. export GIT_CURL_VERBOSE=1
  5.  
  6. # error: RPC failed; result=56, HTTP code = 200B
  7. # karena di host tidak dapat clone repo yang ukurannya besar
  8. # Fix: 1. update curl yg support http2, 2. add git config global
  9. git config --global http.postBuffer 524288000
  10. git config --global --list
Add Comment
Please, Sign In to add comment