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!