Skip to content

Instantly share code, notes, and snippets.

@weeksdev
Last active January 31, 2024 12:05
Show Gist options
  • Save weeksdev/ddd03303a355f46f9fee to your computer and use it in GitHub Desktop.
Save weeksdev/ddd03303a355f46f9fee to your computer and use it in GitHub Desktop.
Add Git Bash as External Tool to Visual Studio
  1. Tools > External Tools
  2. Add
  3. Settings:
  4. title: Git Bash
  5. command: C:\Program Files (x86)\Git\bin\sh.exe
  6. arguments: --login -i
  7. initial directory: $(SolutionDir)
@vivekDebugs
Copy link

@weeksdev, could you please explain the purpose of passing --login -i as arguments? Thanks in advance!

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