4 ms·
Instead of committing the binary, I highly recommend using a .tool-versions file (if you use asdf or mise) or a Dockerfile with a pinned version.
by hesyiah 9mo ago
Instead of committing the binary, I highly recommend using a .tool-versions file (if you use asdf or mise) or a Dockerfile with a pinned version.
- supermatt 9mo agoWhat is the downside to committing the binary? Immunity to supply chain attacks and a faster build time?
- surajrmal 9mo agoThe best of both worlds is hosting the binary independently of git in some cloud storage and just have a script that fetches it (and set it in .gitignore). git itself doesn't like binaries very much and it will bloat your git clone speed/size if you update the binary ad it will effectively store all versions.
- cxr 9mo agoThe specific use case here is someone storing the binary because they're _avoiding_ updates.
- sunnyday_002 9mo agoOr just use Git LFS.