gogodeps

Failed to update vendor deps via godep update ... command and godep save -r ./


I have latest deps available in my $GOPATH. Now i want to update my project Godeps.json with new deps(with latest GOPATH) by calling godep update ./... and then calling godep save ./... . however still I am with old deps in Godeps.json .


Solution

  • Make sure you have git committed package you want to update, you can check the commit sha-1 checksum using git log and make sure it has different rev commit version in Godeps.json. Then include package name in godep command godep update github.com/package/...