Git will not submit all the files every time, so the first submission of 100M is just a little slower, so you don’t have to worry about problems in later development.
If a large file is submitted by mistake 1 Use the git filter-branch command to completely delete it from the history 2 Add to .gitignore 3 git push -force to overwrite the contents of the remote 4 Notify other developers to ferch and checkout to the new branch
Be careful when modifying remote history, and confirm carefully before pushing.
Git will not submit all the files every time, so the first submission of 100M is just a little slower, so you don’t have to worry about problems in later development.
If a large file is submitted by mistake
1 Use the git filter-branch command to completely delete it from the history
2 Add to .gitignore
3 git push -force to overwrite the contents of the remote
4 Notify other developers to ferch and checkout to the new branch
Be careful when modifying remote history, and confirm carefully before pushing.