TheCrafter TheCrafter - 5 months ago 25
Git Question

Clone gitlab project that uses git lfs without giving password all the time

I decided to try git lfs on gitlab. I noticed that it doesn't work with ssh so I decided to use https for it. Push works just fine but when I tried to clone my project it asked me for a username and a password for every file.

That's kind of annoying. Is there any workaround to it?


You can use Git's credential helper which git lfs supports (has a permanent store and in-memory cache options).

I also noticed git lfs had some issues related to this which have been resolved.