Skip to content

Instantly share code, notes, and snippets.

@kujiy
Last active April 20, 2023 13:55
Show Gist options
  • Save kujiy/4f5c0b6e7ab47a1637e4 to your computer and use it in GitHub Desktop.
Save kujiy/4f5c0b6e7ab47a1637e4 to your computer and use it in GitHub Desktop.
How to open a specific folder with git-bash.exe from a command line(shell)
With argument
"C:\Program Files\Git\git-bash.exe" "--cd=%1"
Direct
"C:\Program Files\Git\git-bash.exe" "--cd="C:\YOUR\FOLDER\"
@nick2525
Copy link

nick2525 commented Feb 4, 2022

I have also have same problem in gitforwindows, which has cygwin

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