Tuesday, March 4, 2025

Git commands for pushing large files.

 Install Git LFS:

  • Download and install Git LFS from the official Git LFS website (https://git-lfs.com/)
  • Navigate to repo->right click->git bash.
  • Write command git lfs track path of file
  • .gitattributes folder will be generated
  • Write command git add .gitattributes.
  • Write command git commit -m 'your commit message'
  • Write command git push

No comments:

Post a Comment