Appearance
JFrog Authentication for Git LFS
Set up gitLFS for pipeline workflow with JFrog Authentication
- Download .gitconfig and place it in
$HOME
dir of your CI/CD environment.- If you already have a .gitconfig in your system, them merge the content
- Change permission if needed: chmod 600 ~/.gitconfig
- From
$HOME/$USER
dir, clone down your git repo:- Note: This git repo must already has lfs object stored in JFrog artifactory.
- Example: git clone git@github.ford.com:Ford/lfs-test-repo.git
- Enter your JFrog user and pass (token) when being asked
- A
.git-credentials
file should be generated with your JFrog credentials in it - Run your CI/CD pipeline with git lfs pull enabled