dep ensure報錯unable to update checked out version: fatal: reference is not a tree:
dep ensure報如下錯誤:
(1) ✗unable to update checked out version: fatal: reference is not a tree: 2b758aa73013d2b1f11077aeca87ea042a1438bf
(1): command failed: [git checkout 2b758aa73013d2b1f11077aeca87ea042a1438bf]: exit status 128
(1)← no more versions of github.com/bradfitz/slice to try; begin backtrack
但是檢視過 github.com/bradfitz/slice ,2b758aa73013d2b1f11077aeca87ea042a1438bf命名是master上的最新一條commit。幾經嘗試和搜尋,找到了如下可行的解決方法: