Myles McDonnell
Myles McDonnell

Reputation: 13335

Visual Studio Team Services - Git Repo credentials

I have a project in GitHub, I've been a GitHHub user for years, but I now want to use some of the Visual Studio Team Services features so I create a free account and create a project along with a a new Git repo hosted on VS Team Services. I want to add the new Team Services repository to the list of remotes in my existing repo but I can't authenticate to it from Git Bash using the HTTPS ref and my Team Services credentials.

Is it using some sort of funky auth. mechanism that won't work with standard mysysgit? Do I need to perform some sort of admin on my Team Services account?

Upvotes: 0

Views: 399

Answers (2)

MythicalCode_
MythicalCode_

Reputation: 85

Alternate authentication credentials are not recommended

It's better to use personal access tokens. Keep in mind though that these expire after a set expiry date and time. In the git client, use any username you like (characters only, e.g. Bob, Chalkie, etc.) and use the token as the password.

Personal access tokens

Upvotes: 1

AndrasCsanyi
AndrasCsanyi

Reputation: 4245

In your profile please enable alternate authentication credentials and use simpler username than email address.

enter image description here

Upvotes: 4

Related Questions