【问题标题】:Git pull error on Windows XP: Unable to determine absolute path of git directoryWindows XP 上的 Git pull 错误:无法确定 git 目录的绝对路径
【发布时间】:2013-12-28 07:01:52
【问题描述】:

我正在使用带有 git 版本 1.8.4.msysgit.0、Git 扩展的 Windows XP,并且我正在使用 SSH 访问远程存储库。

尝试执行 git pull 时,出现以下错误:

C:\git-ssh\bin\git.exe pull --progress "origin" +refs/heads/master:refs/remotes/origin/master
/libexec/git-core/git-sh-setup: line 309: pwd: -W: invalid option
pwd: usage: pwd [-LP]
Unable to determine absolute path of git directory

问题出现在 Powershell 和 Git Bash 中,并且仅出现在我的机器上。

有什么想法吗?

提前致谢。

【问题讨论】:

    标签: git ssh windows-xp msysgit


    【解决方案1】:

    WindowsXP 是在 XenServer 上运行的虚拟机吗?

    如果是这样,请尝试卸载 XenTools

    【讨论】:

    • 没有。这是一台没有虚拟化的 Windows XP 机器
    猜你喜欢
    • 2012-07-17
    • 2011-08-31
    • 2015-11-29
    • 2012-04-21
    • 2020-10-19
    • 1970-01-01
    • 1970-01-01
    • 2016-09-06
    • 2020-12-22
    相关资源
    最近更新 更多