Upload a project to GitHub. When the size of a file exceeds 100m, it will fail to upload, because the default limit is that the size of the uploaded file cannot exceed 100m. If we need to upload more than 100m files, we need to modify the configuration ourselves.
1、 First, open the terminal and enter the command
Adjust to 500tbuffer again
git config --global http.postBuffer 524288000
The operation is as follows:
After configuration, check the configuration as shown in the figure below:
After executing the above statements, enter:
git config -l
You can see that there is an additional line at the bottom of the configuration item (52428000=500 × one thousand and twenty-four × 1024, i.e. 500m)
Attachment: solve the problem of slow speed of GIT clone
Domestic image is used. At present, GitHub’s domestic image website is known to havegithub.com.cnpmjs.orgAnd GIT sdut. me/。 The speed depends on local conditions. When a project is in clone, it willgithub.comReplace withgithub.com.cnpmjs.orgthat will do
1、 Using domestic image, GitHub’s domestic image website is known to have GitHub com. cnpmjs. Org and GIT sdut. me/。 The speed depends on local conditions. When clone a project, it will be GitHub Com replace with GitHub com. cnpmjs. Org
//For example, this is the code we want to clone https://github.com/ZongAng123/SystemMap-iOS
//In https://github.com Follow cnpmjs. Org https://github.com.cnpmjs.org/ZongAng123/SystemMap-iOS
Pro test practical, very fast!!!!