Skip to content

Instantly share code, notes, and snippets.

@James-E-A
Last active July 24, 2025 20:13
Show Gist options
  • Save James-E-A/a0b99a674d718dbbc2e4f97c0fad4f41 to your computer and use it in GitHub Desktop.
Save James-E-A/a0b99a674d718dbbc2e4f97c0fad4f41 to your computer and use it in GitHub Desktop.
VS Code set git editor only when using VS Code
{
// File > Preferences > Settings > User > Terminal > Integrated > Env
"terminal.integrated.env.windows": {
"GIT_EDITOR": "code -w"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment