Deploy tokens support for Git LFS

Problem to solve

Git LFS works with:

  • SSH
  • HTTPS + username + access token
  • "public" HTTPS

Git LFS does not work with a deploy token.

Deploy tokens cannot be used on Git LFS enabled repositories. Which is a big (undocumented) limitation.

Proposal

Git LFS should work with deploy tokens. Especially, one should be able to do:

git clone https://gitlab+deploy-token-xx:the-token-password@git.my.host/repo.git

Today, running this command will lead to a "Server Error" while fetching the LFS objects.

Assignee Loading
Time tracking Loading