在git bash中更改驱动器的窗口 [英] Change drive in git bash for windows

查看:121
本文介绍了在git bash中更改驱动器的窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在windows中导航到我的驱动器位置 E:/ Study / Codes in git bash 。在命令提示符下,为了更改驱动器,我使用 E:它在 git bash 中返回一个错误。


bash:E :: command not found。


如何将当前目录位置从 / c / users 更改为 E:Study / Codes

解决方案

为了导航到不同的驱动器,只需使用

  cd / E / Study / Codes 

它可以解决您的问题。

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

解决方案

In order to navigate to a different drive just use

cd /E/Study/Codes

It will solve your problem.

这篇关于在git bash中更改驱动器的窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆