Error "error: 4944 bytes of body are still expected" during Cloning Branch

Kishorkumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 5, 2024

I am trying to clone a branch from Git Repo (via Sourcetree) and its getting failed with below Error. 

error: 4944 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

 

What could be the issue and how to fix it? 

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 6, 2024

Hey @Kishorkumar ,

and welcome to the Community!

To determine whether the issue is related to your Sourcetree configuration/setup, could you please try cloning directly from your terminal and confirm if the same error occurs?

You can use the following command to clone the repository:

  • Using HTTPS
    git clone https://USERNAME:APP_PASSWORD@bitbucket.org/WORKSPACE/REPOSITORY.git

    OR 

  • Using SSH
    git clone git@bitbucket.org:WORKSPACE/REPOSITORY.git

    * If using Windows, please run the clone on Git Bash for Windows.

Thank you, @Kishorkumar !

Patrik S

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events