Git-bash: 无法 cd 到我的文档
Git-bash: cannot cd to My Documents
我在 Windows 7 上使用 git-bash,它似乎工作正常,只是我不能去 "My Documents"。我发现了一个稍微相关的问题here,但实际上这不是我的问题。
我试图在下面的屏幕截图中描述我的问题:
任何帮助都会很好。
将@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
.
我在 Windows 7 上使用 git-bash,它似乎工作正常,只是我不能去 "My Documents"。我发现了一个稍微相关的问题here,但实际上这不是我的问题。
我试图在下面的屏幕截图中描述我的问题:
任何帮助都会很好。
将@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
.