Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

POST git-receive-pack (chunked)

Deleted user February 26, 2015

The push process get frozen after a few seconds running. The last line in the output is POST git-receive-pack (chunked. Help please. Thanks.

1 answer

1 accepted

5 votes
Answer accepted
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 26, 2015

This means it is uploading files to the server. Be patient.

Deleted user February 26, 2015

is it dangerous to keep working with the project folder while sourcetree is pushing?

Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 26, 2015

Shouldn't be. SourceTree doesn't push your working copy, it pushes a set of commits. As long as you don't run any git commands that modify your local history (amending commits, rebasing, resetting, etc), you should be fine.

Deleted user February 26, 2015

Thank you Seth Foss, but this push is taking several time (at least 45 minutes and still running). And the size of the last changes is only around 300mb.

Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 26, 2015

If there is a problem here (45 minutes does seem long), it is a git problem, not a SourceTree one. You might try stackoverflow, since it has a wider user base.

Dheeraj Gupta April 19, 2022

Yes, this seems to be a sourceTree bug because I can push the code using terminal. If it is a git problem, it won't let me push even from terminal.

Please suggest some solution.

apautrot May 6, 2022

I also have this issue now that I have updated Sourcetree Windows to version 3.4.8.
I had no issue with version 3.3.6.


The complete error message I have is :


git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v origin master:master
POST git-receive-pack (chunked)
remote: error: cannot lock ref 'refs/heads/master': is at 2855ebd74957473d517ef695b7934c54186c83f3 but expected 24978b6225ab9434514b9f5bcde7be0ca45673f4 
apautrot May 6, 2022

A simple Pull and Sourcetree got refreshed. There is nothing to push, as it has been already done. Sourcetree has an issue and doesn't get properly updated during the Push process.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events