【问题标题】:How to change my repository in the git bash terminal? or How to change the directory?如何在 git bash 终端中更改我的存储库?或如何更改目录? 【发布时间】:2021-12-18 10:45:51 【问题描述】: VS code terminal (Git Bash) image 【问题讨论】: 请澄清您的具体问题或提供其他详细信息以准确突出您的需求。正如目前所写的那样,很难准确地说出你在问什么。 标签: visual-studio-code terminal git-bash 【解决方案1】: cd 的输出表明您要更改的目录不存在。 bash: cd: demo_repository: No such file or directory 提供正确的路径,您需要先向上导航一个目录: $ cd ../demo_repository 从提示中可以看出: 你可以看到你的当前目录是demo_repository2(黄色的路径)。 【讨论】: