Change drive in git bash for windows Change drive in git bash for windows windows windows

Change drive in git bash for windows


In order to navigate to a different drive just use

cd /E/Study/Codes

It will solve your problem.


Just consider your drive as a folder so do cd e:


How I do it in Windows 10

Go to your folder directory you want to open in git bash like so

enter image description here

After you have reached the folder simply type git bash in the top navigation area like so and hit enter.

enter image description here

A git bash for the destined folder will open for you.

enter image description here

Hope that helps.