Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upgrade GIT to latest version in Visual Studio Team Services?

Tags:

azure-devops

I am using online Visual Studio Team Services and GIT for a repository. I have the latest installation of GIT on my computer but when I push code to the repository I am getting an information

"remote: We noticed you're using an older version of GIT. For the best experience, upgrade to a newer version."

From the message I understood that I need to update the GIT in the Visual Studio Team Services to the latest version and I tried to find the way to upgrade but I wasn't able to find the option. Could you please help me to get the right direction? Thanks

like image 837
Simant Avatar asked Oct 30 '17 10:10

Simant


2 Answers

You need to upgrade your local git client. you should use the following command for upgrade git from the console.

for versions between 2.14.2 and 2.16.1

C:\> git update

for version above 2.16.1

git update-git-for-windows
like image 126
Abdul Qadir Memon Avatar answered Oct 12 '22 02:10

Abdul Qadir Memon


No, Visual Studio Team Services is telling you that you need to upgrade your local Git client. VSTS is safely running a custom Git implementation that you cannot modify.

If you're on Windows, visit https://git-for-windows.github.io/ and install the latest version.

like image 40
Edward Thomson Avatar answered Oct 12 '22 02:10

Edward Thomson