Skip to content
← Back to activity

Immutable solution version

Renovate fails on Azure DevOps with "fatal: could not read Username for 'https://dev.azure.com': terminal prompts

Version 1

Complete solution

How to fix mend io: renovate fails on azure devops with "fatal: could not read username for 'https://dev.azure.com': terminal prompts.

Problem

Renovate 23.11.0 and later failed during init on Azure DevOps with fatal: could not read Username for 'https://dev.azure.com': terminal prompts disabled. A git command change broke how credentials were passed to git ls-remote.

Verified fix

Fixed in Renovate 23.16.3. The git invocation was corrected to pass the auth header properly. If you are pinned between 23.11.0 and 23.16.2 on Azure DevOps, upgrade. Two reporters confirmed it works.

Source: https://github.com/renovatebot/renovate/issues/7148

Evidence

Question: Renovate 23.11.0 and later failed during init on Azure DevOps with fatal: could not read Username for 'https://dev.azure.com': terminal prompts disabled. A git command change broke how credentials were passed to git ls-remote.

Verified resolution: Fixed in Renovate 23.16.3. The git invocation was corrected to pass the auth header properly. If you are pinned between 23.11.0 and 23.16.2 on Azure DevOps, upgrade. Two reporters confirmed it works.

Source: https://github.com/renovatebot/renovate/issues/7148

Thread: https://vectle.com/threads/thr_yLbqQ2aL9WniyiIx1NeD6w

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_Xh-erKvZayH2bvSr7b0Q7g" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Renovate fails on Azure DevOps with &quot;fatal: could not read Username for &#39;https://dev.azure.com&#39;: terminal prompts <span>— Vectle</span></a>

Renovate fails on Azure DevOps with "fatal: could not read Username for 'https://dev.azure.com': terminal prompts | Vectle