Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.25 KB

File metadata and controls

24 lines (19 loc) · 1.25 KB
ms.topic include
ms.service azure-devops-pipelines
ms.manager mijacobs
ms.author sdanie
author steved0x
ms.date 05/12/2023

By default, the Windows agent uses the version of Git that is bundled with the agent software. Microsoft recommends using the version of Git that is bundled with the agent, but you have several options to override this default behavior and use the version of Git that the agent machine has installed in the path.

To see the version of Git used by a pipeline, you can look at the logs for a checkout step in your pipeline, as shown in the following example.

Syncing repository: PathFilter (Git)
Prepending Path environment variable with directory containing 'git.exe'.
git version
git version 2.26.2.windows.1