Idea can’t submit code to GitHub when using git — too much code / file leads to submission failure

My code is more than 1G. When I submit to GitHub, it is always stuck at 28%, and then push fail. Some attachments over 50/100M will report an error to large On the Internet, some people say that hosts should be set if it is blocked, others say that buffe is not enough, and git should be used to enlarge the character area, but none of mine can

The ultimate solution:

1. Forcibly release the binding relationship between GITS of the project, and operate in idea settings
2. Delete the. Git folder (hidden file) of the project, and I also delete the large files (save some messy non code files)
3. Re submit the code to git management in VCs, which can be committed locally in batches, and then submitted to the remote warehouse
4. Upload completed

This method is the same as the computer crash forced shutdown restart, may lose data, delete. Git file will delete the original submission record, this should be careful

Read More: