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
 

 

 

 

 

要把

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 MonkeyJ 的頭像
    MonkeyJ

    程式猴

    MonkeyJ 發表在 痞客邦 留言(0) 人氣()