Skip to content

Instantly share code, notes, and snippets.

@dalmarcogd
Forked from kujiy/git-bash.exe-args
Created February 15, 2018 15:15
Show Gist options
  • Save dalmarcogd/e7aaf0962bd64fea018565ccb715fd33 to your computer and use it in GitHub Desktop.
Save dalmarcogd/e7aaf0962bd64fea018565ccb715fd33 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\"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment