【发布时间】:2014-02-12 05:05:11
【问题描述】:
我试图在工作中克隆一个大型项目。它过去曾奏效。这是我正在使用的一台新机器,我正在使用 Mac 上的终端将它克隆到 Parallels 可以访问它的 /Volumes 文件夹中。以前,我已经在 Windows 上克隆了它,没有问题。
完成后我得到的一个错误是它说,
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
当我尝试执行 git checkout -f HEAD 时,看起来 git 尝试检查它,但它基本上会通过 VS 解决方案中的不同项目说:
error: unable to create file src/MyProject (File exists)
有没有人遇到过这种情况?是因为我试图克隆到 /Volumes/c/MyProjects/NameOfProject 吗?
提前致谢。
【问题讨论】:
-
"
You can inspect what was checked out with 'git status'" 好的:git status说什么?你的 git 版本是什么?
标签: git visual-studio-2012 parallels