Since the year started I’ve been working hard with Visual Studio Team Services (VSTS) with Git as source control. I was getting tired of entering my git credentials on each clone, pull or push, on Windows or Mac OS X, so this weekend I decided to surf the web and look for a multi-platform solution.
To try it on my mac I performed the following steps:
- brew update
- brew install git-credential-manager
- git-credential-manager install
Then I tried to clone a repo hosted in VSTS and the GCM opened a web browser to let me authenticate to my account using OAuth 2.0 as shown in the following picture:
Once authenticated, the clone command completed without issues and could pull or push without Git asking for credentials.
Tomorrow I’ll try it on Windows!
Hope it helps…
I did try it on Windows and everything worked like a charm!