Shubham Khatri Shubham Khatri - 1 month ago 11
Git Question

Change drive in git bash for windows

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

In order to navigate to a different drive just use

cd /E/Study/Codes

It will solve your problem.