Azure Developer CLI Gives Git CLI error.

Laszlo Csabi (Levo) 5 Reputation points
2023-03-30T00:57:58.41+00:00

Successfully installed the following with winget

Azure Developer CLI

Git

Powershell 7

Giving the following commands:

"azd login" - I could successfully login via the azd command.

"azd init -t azure-search-openai-demo" - GIVES ERROR - error checking for external tool git CLI: checking git CLI version: exit status 1

"azd up" - GIVES ERROR - error checking for external tool git CLI: checking git CLI version: exit status 1

OS and Version?

Microsoft Windows 11 Pro Build Number : 22621

Versions

10.0.22621

I have checked that "git --version" is available and comes back with result: as : git version 2.40.0.windows.1

Could anybody provide further insights what could be wrong?

Thanks

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
40,586 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Raghav 0 Reputation points
    2024-12-24T14:53:33.9966667+00:00

    Did you try this this after pushing your code to a code repository?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.