git is trying to upload the file already deleted manually

前端 未结 1 1189
深忆病人
深忆病人 2021-01-07 04:34

I added a file in my older commit and without pushing that commit then I deleted that file from the dir. After that I did more changes and added more commits and now every t

相关标签:
1条回答
  • 2021-01-07 05:02

    If your git repo keeps trying to upload large files, you might want and check for any tracked (and later deleted) large files.

    Use BFG Repo cleaner and see if, in your history, you don't have some files to remove.

    Remove all blobs bigger than 10 megabytes :

    $ bfg --strip-blobs-bigger-than 10M  my-repo.git 
    
    # or
    
    java -jar bfg.jar --strip-blobs-bigger-than 100M some-big-repo.git
    
    0 讨论(0)
提交回复
热议问题