bash - Git-bash:无法 cd 到我的文档

标签 bash windows-7 git-bash

我在 Windows 7 上使用 git-bash,它似乎工作正常,只是我无法转到“我的文档”。我发现了一个稍微相关的问题 here , 但其实这不是我的问题。

我试图在下面的截图中描述我的问题: cannot cd to My Documents

任何帮助都会很好。

最佳答案

将@eryksun 的评论拉入 community wiki回答

There is no "Documents" folder in your profile directory. I don't think Explorer updates the "My Documents" compatibility junction when the target is relocated. Right-click the Documents folder in Explorer, open the properties dialog, and click on the Location tab to see its real location on disk. You can create a new junction using mklink /j junction target.

关于bash - Git-bash:无法 cd 到我的文档,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46721053/

相关文章:

bash - 在多行命令中的 Bash 脚本中发表评论

xcode - 自动将日期/时间和内部版本号添加到 Info.plist Xcode

ruby - JSON gem安装错误: unable to download data

linux - 在 Windows 7 上安装 ubuntu 对其他 Windows 驱动器有影响吗?

windows - 如何在 Windows git-bash 终端上获得彩色输出?

git commit 不打开编辑器

bash - 如何按字母顺序对主列进行排序,然后按数字顺序对辅助列进行排序?

linux - 为什么 bash 后台任务忽略 SIGINT?

tortoisegit - Git 克隆太慢

Python。 IOError : [Errno 13] Permission denied: when i'm copying file