init push專案時報錯
remote: error: GH001:
Large files detected. You may want to try Git Large File Storage
remote: error: File backup.tgz
is 399.12 MB; this exceeds GitHub's file size limit of 100.00 MB
把報錯的backup file砍了一樣
要把git 該檔案相關 history也砍了
git filter-branch --force --index-filter "git rm --cached --ignore-unmatch {{檔案路徑}}" --prune-empty --tag-name-filter cat -- --all
要把
全站熱搜