miss git on visual studio 2022

alice alice 100 Reputation points
2024-10-08T04:26:05.97+00:00

I open the vs2022 prompt and command git, it show not found

Here is that I use vs2022 cmake to run git and it show

1> [CMake] CMake Error at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/ExternalProject.cmake:2911 (message):

1> [CMake] error: could not find git for clone of yaml-cpp-populate

Developer technologies | Visual Studio | Other
{count} votes

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.