Samuel
Samuel

Reputation: 651

User SourceTree to pull/push from/to Visual Studio Git Repository

We have a Visual Studio Git online project. Sometimes Visual Studio doesn't allow us either to pull or push, then I am thinking of use SourceTree in that case.

However no matter how to I configure based on internet (e.g. using personal token access or install Git Credential Manager), SourceTree always tells me "Timeout".

I am using the latest SourceTree and VS2015.

Please help if you once got it work! Thanks a lot!

Upvotes: 3

Views: 7020

Answers (1)

Onosa
Onosa

Reputation: 1273

I solved this by using the System's Git Version instead of the Embedded Git Version. I noticed that if I did the Git commands myself, it worked fine, but SourceTree was having no luck.

Tools -> Options -> Git -> Near the bottom, click on "Use System Git"
(Screenshot taken after I applied this change) My Options Menu

Then, click on the Terminal button

Terminal button location

Type git --version to see if it's what you expect. Mine showed git version 2.14.1.windows.1 which was what finally worked for me.

enter image description here

Upvotes: 3

Related Questions