I am using the Git for Windows "git bash" command line on Windows and can't seem to find an equivalent in it for the open current directory command "cmd ." I can't find any documentation but if someone can point me to a list of commands for Git for Windows or let me know what the equivalent is I would appreciate it.
相关问题
- How to get the return code of a shell script in lu
- Invoking Mirth Connect CLI with Powershell script
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
- Is it possible to pass command-line arguments to @
Simply define an alias (if you are in a CMD session, started with
git-cmd.bat
.In Windows, that would be:
In a git bash shell:
Then type
sbt yourFile
, and it will open directly in Sublime Text.If you're using bash under Windows (whether it's installed via a Git installer, Cygwin, or something similar), you should be able to open the current directory in Windows Explorer by typing
cmd
is the Windows command line program./c
tells it to use use the rest of the command line as a command to be executed.start
opens the specified argument; if it's a directory it opens it (by default) in Windows Explorer. You can also use this to open images, documents, and so forth.On my native Linux system you'd simply call
or
or
I hope MySysGit supports at least one of these...