I’m trying to download a LFS file, the raw file content is something like this:
version https://git-lfs.github.com/spec/v1 oid sha256:0ba4240dc67dd86fd382b31b14fd1569bce816fe8a71e2234cefac720e724caa size 2119180
I can download that raw content by using the following command:
curl --request GET --header 'PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK' 'https://gitlab.example.com/api/v3/projects/13083/repository/files?file_path=app/models/key.rb&ref=master'
But what I need is the content the file is targeting.
I did the same for GitHub in the past, they provide you with a download URL to get the real file content, I can’t find how to do it for GitLab.