windows-git-bash-paths

Resolves Windows and Git Bash path conversion issues for SqlPackage deployments and SDTT workflows.

51|10|Updated Oct 22, 2025
One-click install
npx skills add https://github.com/JosiahSiegel/claude-plugin-marketplace --skill windows-git-bash-paths
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: windows-git-bash-paths
Source: https://github.com/JosiahSiegel/claude-plugin-marketplace/tree/main/plugins/ssdt-master/skills/windows-git-bash-paths
Command: npx skills add https://github.com/JosiahSiegel/claude-plugin-marketplace --skill windows-git-bash-paths

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill resolves the complex path conversion issues that arise when using Windows-native tools like SqlPackage within the Git Bash environment, ensuring your SSDT workflows run smoothly across different shells.

Core Features & Use Cases

  • Path Conversion Solutions: Provides multiple methods (MSYS_NO_PATHCONV, double-slash syntax) to handle path differences between Windows and Git Bash.
  • Shell Detection: Offers robust scripts to automatically detect the shell environment and apply the correct path handling strategies.
  • Use Case: When running a sqlpackage command from Git Bash to deploy a DACPAC, this Skill ensures the file paths are correctly interpreted by SqlPackage, preventing deployment failures due to path errors.

Quick Start

Use the windows-git-bash-paths skill to deploy a dacpac file named 'MyDatabase.dacpac' to a SQL Server instance.

Frequently Asked Questions about windows-git-bash-paths

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does SqlPackage fail to find my DACPAC file when running from Git Bash?

Git Bash automatically converts Windows file paths to Unix-style formats, causing native tools like SqlPackage to misinterpret the target DACPAC location. Applying MSYS_NO_PATHCONV or double-slash syntax prevents this path conversion and resolves the deployment failures.

How do I convert Windows paths for MSBuild command-line arguments in a mixed shell environment?

To convert Windows paths for MSBuild in mixed shell environments, apply MSYS_NO_PATHCONV or double-slash syntax to your command-line arguments. These strategies ensure Visual Studio tools correctly interpret file paths without Git Bash altering them.

How can I automatically detect the shell environment before running SqlPackage deployment scripts?

You can detect the shell environment before running SqlPackage by utilizing robust shell detection scripts. These scripts identify the active shell and automatically apply the correct path handling strategies to ensure cross-platform compatibility for your local and CI/CD workflows.

What is the best way to handle cross-platform path compatibility for SSDT workflows in CI/CD pipelines?

The best way to handle cross-platform path compatibility for SSDT workflows is to implement shell detection scripts combined with path conversion methods like MSYS_NO_PATHCONV. This ensures Windows-native tools execute correctly across different shell environments without deployment path errors.

Does Git Bash path conversion break Visual Studio command-line arguments for SSDT deployments?

Yes, Git Bash path conversion breaks Visual Studio command-line arguments for SSDT deployments by altering the file paths before they reach native tools. Applying MSYS_NO_PATHCONV or double-slash syntax stops this behavior and ensures correct argument interpretation.