【问题标题】:How to change my repository in the git bash terminal? or How to change the directory?如何在 git bash 终端中更改我的存储库?或如何更改目录?
【发布时间】:2021-12-18 10:45:51
【问题描述】:

【问题讨论】:

  • 请澄清您的具体问题或提供其他详细信息以准确突出您的需求。正如目前所写的那样,很难准确地说出你在问什么。

标签: visual-studio-code terminal git-bash


【解决方案1】:

cd 的输出表明您要更改的目录不存在。

bash: cd: demo_repository: No such file or directory

提供正确的路径,您需要先向上导航一个目录:

$ cd ../demo_repository

从提示中可以看出:

你可以看到你的当前目录是demo_repository2(黄色的路径)。

【讨论】:

    猜你喜欢
    • 2014-12-31
    • 1970-01-01
    • 2012-07-30
    • 2012-07-08
    • 2014-05-15
    • 2017-04-20
    • 2021-05-02
    • 1970-01-01
    • 2018-03-28
    相关资源
    最近更新 更多