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

前端 未结 3 1856
悲&欢浪女
悲&欢浪女 2021-01-13 05:29

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 a

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-13 05:47

    If no password is required to actually access the files and you're accessing with an https://server.com/path/to/repo URL then it should work (as of git-lfs 0.5.3). One possibility is that your configuration has lfs.batch = false. Try git -c lfs.batch=true clone https://server.com/path/to/repo --- no credential helper required.

提交回复
热议问题