【发布时间】: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