Asked  3 Months ago    Answers:  5   Viewed   2.5k times

So i just updated to a new Visual studio version and I'm no longer able to push/pull from/to my azure git repo (cloning works fine).

The exact error I get is

Cannot determine the organization name for this 'dev.azure.com' remote url. ensure the credential.usehttppath configuration value is set, or set the organization name as the user in the remote url '{org}@dev.azure.com'.

and only the pull command shows me this error, all the others are failing with git fatal error. I messed with my Credentials Manager cos i suspected it might be the one causing the problem but no luck..

 Answers

35

What fixed the issue for me is going to Tools > Options > Source Control > Git Global Settings, there I changed all 4 dropdowns which were still selected as "Unset":

  • Prune remote branches during fetch - False
  • Rebase local branch when pulling - False
  • Cryptographic network provider - OpenSSL
  • Credential helper - GCM Core

Source: https://docs.microsoft.com/en-us/visualstudio/ide/git-with-visual-studio?view=vs-2019#personalize-your-git-settings

Note: These are the settings my organization requires. You might have to tweak them around according to your exact issue.

Tuesday, September 7, 2021
 
mozlima
answered 3 Months ago
58

It’s mainly caused by the credentials have been remembered by Credential Manager. You should remove the credentials for xxx.visualstudio.com which have been stored in Credential Manager.

Such as if the pc’s OS is windows, you can open Credential Manager -> Windows Credentials -> under Generic Credentials -> remove the credentials like git:https://xxx.visualstudio.com.

enter image description here

Then clone again, git will let you input the credential for the repo. After inputing the username(email address) and password which can access the VSTS account, the repo should be cloned successful.

Monday, June 14, 2021
 
DiglettPotato
answered 6 Months ago
80

You should specify formGroupName for nested controls

<div class="panel panel-default" formGroupName="address"> <== add this
    <div class="panel-heading">Contact Info</div>

Plunker Example

Monday, August 9, 2021
 
user542584
answered 4 Months ago
90

Ok. I solved my question. I think I'm getting timeout when git says "deltafying objects". Because my upload speed is very low thanks to TTNET ( internet provider in Turkey, which sucks )

So, I tried to do this with my company internet; It's uploaded in 1 minutes. Thanks for help though...

Friday, October 1, 2021
 
Elio Campitelli
answered 2 Months ago
72
  1. On the receiving end you normally receive a 414 Request-URI Too Long-header.
  2. No it cannot be increased at runtime. And in Apache, if you use that as a webservers, you can limit it to something below the default 8190 bytes, but not to something above it without changing the source code & recompiling.
  3. Yes, is it server dependent, and even UA-dependent, and if you run Suhusoin with PHP, even more possible rules apply.
  4. If you need to ask "What is the maximum lenght of an url?", you actually need to ask: "Why are these not POST values?".
Thursday, November 25, 2021
 
Luciano Selzer
answered 1 Week ago
Only authorized users can answer the question. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :
 
Share