The git shell has a few useful commands that aren't part of windows usual cmd (ls
,git grep
).
Is there a command like *nix's
more filename.ext
available in the git shell?
Note: Git for Windows comes with its own command prompt (Git Bash) that, besides git commands, has some useful Unix commands (and it looks better than the Windows default prompt). On the next screen (Adjusting your path environment), I choose the most conservative option: Use Git Bash only.
Sort of an equivalent to the bad-ass terminal in Linux, when you install git on windows and you are used to using command line, one uses cmd to run git commands. There is not at all any difference when it comes to git commands when you use either of the above.
You don't need to use Git Bash. It is just conventional, because Git was developed and designed on Linux and most Git users use Linux and using Git Bash on Windows makes it a uniform experience. You can certainly use Git on cmd; just make sure you add C:\Program Files\git\cmd to your PATH .
This is a login shell for SSH accounts to provide restricted Git access. It permits execution only of server-side Git commands implementing the pull/push functionality, plus custom commands present in a subdirectory named git-shell-commands in the user's home directory.
I have MSys Git v1.8.5.2. It has less
command. Here is good article about both of them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With