You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update golang/content.md to hint about git-lfs (#2389)
* Update golang/content.md to explain how to install git-lfs
The Go toolchain uses the local git installation to fetch archives of modules from Git servers directly. My company commits large files using Git LFS which happen to be part of our Go module source tree. Without _git-lfs_ installed, the local git installation does not automatically resolve those files which causes "_checksum mismatch_" against the committed `go.sum`.
Accept the more succinct version suggested in the pull-request.
Copy file name to clipboardExpand all lines: golang/content.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -69,3 +69,7 @@ $ for GOOS in darwin linux; do
69
69
> done
70
70
> done
71
71
```
72
+
73
+
## Git LFS
74
+
75
+
If downloading your dependencies results in an error like "checksum mismatch", you should check whether they are using [Git LFS](https://git-lfs.com/) (and thus need it installed for downloading them and calculating correct `go.sum` values).
0 commit comments