Change drive in git bash for windows

Shubham Khatri picture Shubham Khatri · Jul 25, 2016 · Viewed 142.4k times · Source

I was trying to navigate to my drive location E:/Study/Codes in git bash in windows. In command prompt in order to change drive I use E: It returns an error in git bash.

bash: E:: command not found.

How do I change my current directory location from /c/users to E:Study/Codes

Answer

Jagrati picture Jagrati · Jul 25, 2016

In order to navigate to a different drive just use

cd /E/Study/Codes

It will solve your problem.