For when the git-lfs binaries are installed on your agents, but git lfs install
hasn't been run
yet, so buildkite's git clone doesn't have your lfs'd binaries.
Whack this plugin in your pipeline and hey presto, initial clones correctly smudge the refernce files into the binaries they represent.
In your buildkite.yml
pipeline definition:
plugins:
envato/git-lfs#fd7b28a:
key: value # there is no config, but yaml/buildkite (?) seem to demand something here