Megha joshi
Megha joshi

Reputation: 41

Gitbash versus Command Prompt (Windows)

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).

Upvotes: 4

Views: 5836

Answers (2)

Marc Developer
Marc Developer

Reputation: 11

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.

Upvotes: 1

VonC
VonC

Reputation: 1323203

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).

Upvotes: 1

Related Questions