Git error, need to remove large file

前端 未结 8 657
北恋
北恋 2021-02-01 05:37

I am getting this error when I try to push to git and I have no idea how to fix it.

Counting objects: 1239, done.
Delta compression using up to 4 threads.
Compre         


        
8条回答
  •  独厮守ぢ
    2021-02-01 05:55

    You can revert git add before commit.

    Check this question: How to undo 'git add' before commit? It should work. And don't send big files to git, it's not worthy ;)

    Also, exclude your logs, by adding git ignore on your logs path.

提交回复
热议问题