How to upload file larger than 100MB with git
References materials
instructions
- When git add file large than 100MB, the error message will pop up.
- first, revoke the last commit,
git reset soft HEAD~1
- second, use git lfs
git lfs track "file" git add .gitattributes git commit -m "submit file" git push -u origin master
- third, add the large file
git add file git commit -m "add file" git push -u origin master