0

我的 git 配置有问题。它从一些缺失的目录开始,如 .ssh 和其他应该保留在用户主目录中的目录(例如 C:\Users\Piotr 用于 Piotr 的用户帐户)。在 cmd 中使用了一些命令后,我观察到在 Windows 8.1 中没有“~”这样的目录。如何手动设置?我只想将“~”链接到我的主目录。

任何意见,将不胜感激!

4

1 回答 1

0

~是一个 unix 的东西,但我在超级用户上找到了一篇可能对此有所帮助的帖子:

https://superuser.com/questions/168714/is-there-a-shortcut-command-in-windows-command-prompt-to-get-to-the-current-user

于 2013-10-22T21:33:48.730 回答