ado-windows-git-bash-compatibility
Installation
SKILL.md
Azure Pipelines: Windows & Git Bash Compatibility
Overview
Azure Pipelines frequently run on Windows agents, and teams often use Git Bash for scripting. This creates path conversion and shell compatibility challenges that can cause pipeline failures. This guide provides comprehensive solutions for Windows/Git Bash integration in Azure DevOps pipelines.
Critical Windows Agent Facts
Git Bash Integration
Microsoft's Official Position:
- Microsoft advises avoiding mintty-based shells (like git-bash) for agent configuration
- mintty is not fully compatible with native Windows Input/Output API
- However, Git Bash tasks in pipelines are widely used and supported
Git Version Management:
- Windows agents use Git bundled with agent software by default
- Microsoft recommends using bundled Git version
- Override available via
System.PreferGitFromPath=true