Skip to content

Add CLAUDE_CODE_GIT_BASH_PATH environment variable for Windows#36562

Open
9turnbull wants to merge 1 commit intoanthropics:mainfrom
9turnbull:claude/setup-git-bash-path-MFQlk
Open

Add CLAUDE_CODE_GIT_BASH_PATH environment variable for Windows#36562
9turnbull wants to merge 1 commit intoanthropics:mainfrom
9turnbull:claude/setup-git-bash-path-MFQlk

Conversation

@9turnbull
Copy link

Summary

Added support for overriding the Git Bash executable path on Windows through a new CLAUDE_CODE_GIT_BASH_PATH environment variable. This enables users with Git Bash installed in non-standard locations to properly configure the tool.

Changes

  • Added CLAUDE_CODE_GIT_BASH_PATH environment variable that allows users to specify a custom path to the Git Bash executable on Windows
  • This is particularly useful for installations in non-standard locations where the default Git Bash path detection may fail

Implementation Details

The environment variable provides a way to override the default Git Bash executable path resolution, giving users flexibility in configuring their development environment without requiring code modifications.

https://claude.ai/code/session_01PXvXW2banuYNxxxYSemq2t

Add CLAUDE_CODE_GIT_BASH_PATH to CHANGELOG to document the new environment
variable that allows Windows users to override the Git Bash executable path
when it is installed in a non-standard location.

https://claude.ai/code/session_01PXvXW2banuYNxxxYSemq2t
@VinaySiddha
Copy link

@copilot The environment variable provides a way to override the default Git Bash executable path resolution, giving users flexibility in configuring their development environment without requiring code modifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants