What is the difference between running commands on Gitbash (on windows) and the command prompt? I installed Gitbash on my Windows machine and using the mkdir function does not create a new directory (a folder that I can see).
Asked
Active
Viewed 5,690 times
4
-
Possible duplicate of [Difference between Git GUI, Git Bash, Git CMD](https://stackoverflow.com/questions/45034549/difference-between-git-gui-git-bash-git-cmd) – LuVu May 13 '19 at 17:08
2 Answers
1
- git bash opens an msys bash session
- git-cmd.bat opens a CMD session
Both set HOME
properly (it is not set by default in Windows, as opposed to Unix/Linux).
And both add Git to the %PATH%
.
They are package in Git For Windows (with a 64bits coming soon, with a more recent bash).

VonC
- 1,262,500
- 529
- 4,410
- 5,250
1
in gitbash mingw64 for windows 10 when you are in c:, mkdir creates new directory without problems.
For do it, you can go to c: by typing cd /c/ and after, press enter key. When you are in C change to your work directory with CD command, and type mkdir yournewdirectoryname. It works for me.

Marc Developer
- 11
- 3