Skip to content

Commit

Permalink
git-credential-manager for ado
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby committed Mar 26, 2024
1 parent 6ece859 commit 7496134
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .config/git/config
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
dft = difftool
[init]
defaultBranch = main
[url "git@ssh.dev.azure.com:v3/msazuredev/AzureForOperators/"]
insteadOf = https://dev.azure.com/msazuredev/AzureForOperators/_git/
[url "git@ssh.dev.azure.com:v3/msazuredev/AzureForOperatorsIndustry/"]
insteadOf = https://dev.azure.com/msazuredev/AzureForOperatorsIndustry/_git/
[credential]
helper = /mnt/c/Program\\ Files/Git/mingw64/bin/git-credential-manager.exe
azreposCredentialType = oauth
credentialStore = gpg
[credential "https://dev.azure.com"]
useHttpPath = true
4 changes: 0 additions & 4 deletions .ssh/config
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
Host ssh.dev.azure.com vs-ssh.visualstudio.com
AddKeysToAgent no
IdentityFile ~/.ssh/ado

Host *
User root
AddKeysToAgent yes
Expand Down

0 comments on commit 7496134

Please sign in to comment.