【发布时间】:2018-03-25 13:22:45
【问题描述】:
我正在尝试导入 go repo
https://github.com/cloudfoundry/cli
当我在 go 程序中添加 import 语句时,我的 dep init 或 dep ensure 命令失败。
我不确定我无法获得回购的原因是什么。我可以在 go/src 中执行 git clone 并抱怨本地版本可能不一致。
不确定这个特定的 repo 发生了什么。
bash-3.2$ dep ensure
Solving failure: failed to clean up git repository at /Users/rjain/go/pkg/dep/sources/https---github.com-cloudfoundry-cli - dirty? corrupted? status output:
D VERSION
【问题讨论】: