Hanging at “POST git-receive-pack (chunked)”

Posted by

POST git-receive-pack (chunked)

There was a problem with the SourceTree I used today when it was submitted to the GIT remote warehouse
Always in the following state

POST Git-receive-pack (chunked)

Reasons for the problem

After searching for information, the following description is found.

This is a bug in Git; when using HTTPS it will use chunked encoding for uploads above a certain size. Those do not work.

A trivial fix is to tell git to not chunk until some ridiculously large size value, such as:

git config http.postBuffer 524288000

Fixed:

1. git config http.postBuffer 524288000

2. Use the git+ssh protocol instead of https