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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pulling a certain remote repository deletes the target folder upon connection closue

hello everyone I am trying to clone a specific remote project, when I do I get the following error logs :

git -c filter.lfs.smudge= -c filter.lfs.required=false -c diff.mnemonicprefix=false -c core.quotepath=false clone --recursive https:/ "C:\Users\profile\Documents\QAPRoject"
Cloning into 'C:\Users\profile\Documents\QAPRoject'...
warning: templates not found C:\Users\profile\AppData\Local\Atlassian\SourceTree\git_local\share\git-core\templates
fatal: The remote end hung up unexpectedly
fatal: protocol error: bad pack header
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
Completed with errors, see above.


However most confusing is that upon pulling this project and when it is canceled it deletes whatever .git file it was constructing AS WELL AS the head folder the project was being targeted to be placed in . it's a bizarre situation. 

I tried pulling other remote repositories as well ( from cloud forge) and they worked fine but this one specifically is causing issues.  


Does anyone have advice or suggestions on what exactly is going on here?


I've included screenshots of the project in the midst of downloading and its targeted folders, after downloading, and then with the windows explorer being forced up a level because the targeted folder was removed.  


 For what it's worth I have tried pulling this project down on both Mac AND Windows computers and both have the same result, on the windows machine it was at least closing and the folders held nothing more than a small . git  file .

Screenshot (311).pngScreenshot (312).pngScreenshot (313).png

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

4,255 views 4 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you