Skip to content

JFrog Authentication for Git LFS

Set up gitLFS for pipeline workflow with JFrog Authentication

  1. 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
  2. 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
  3. Enter your JFrog user and pass (token) when being asked
  4. A .git-credentials file should be generated with your JFrog credentials in it
  5. Run your CI/CD pipeline with git lfs pull enabled

Brought to you by DevTools and Enablement Team.