Change drive in git bash for windows

时光毁灭记忆、已成空白 提交于 2019-11-29 20:47:00

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:

Vyacheslav

In order to navigate to a different drive/directory you can do it in convenient way (instead of typing cd /e/Study/Codes), just type in cd[Space], and drag-and-drop your directory Codes with your mouse to git bash, hit [Enter].

How I do it in Windows 10

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

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

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

Hope that helps.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!