Unable to pull from a git repository (SourceTree Windows)

I've added an existing git repository to SourceTree in Windows and when trying to pull I (and everyone else on the team) is getting the following error

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin

fatal: The remote end hung up unexpectedly



Completed with errors, see above.

Commands work prefectly well in Git Bash so I know we have authentication set up correctly according to the git command line.

If I try to do a fresh clone of the respository, the Repository Type just displays "This is not a valid source path / URL" and the Details button just displays "fatal: The remote end hung up unexpectedly"

SourceTree on Mac works fine with this repository so I'm assuming its an issue with our SSH validation?

Any help would be appreciated as no-one on the team is currently able to use SourceTree for Windows.

Thanks

1 answer

1 accepted

Accepted Answer
0 votes

SourceTree for Windows currently only supports key-based validation via the PuTTY suite of Windows-native SSH tools. If your existing setup is using the Unix-style OpenSSH then this won't natively be supported yet. We hope to support both styles in future but picked Pageant initially because it was Windows-native and established via the Tortoise tools for over a decade.

Please see the FAQ 'How do I set up SSH keys for authentication?' section about how to set up your keys in SourceTree - you can import OpenSSH keys into PuTTY easily enough and use the tray-based agent Pageant to keep them in memory.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

120 views 6 8
View post

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you