By default, Git sets the http post cache to 1MB, use the command to set the git cache to 500M, and reconfigure the postBuffer value
git config --global http.postBuffer 524288000
Solution 2: Modify the config parameter directly, add the following two lines in
windows: ./git/config:
[http]
postBuffer = 524288000
linux:
add: git config http.postBuffer 524288000
How to use SSH
Project name newProject
[email protected]:/var/opt/gitlab/git-data/repositories/migrate/newProject.git
ssh project directory
/var/opt/gitlab/git-data/repositories/migrate/
add ssh key
Use the following command to view the ssh of the machine and copy it to the above image
cat ~/.ssh/id_rsa.pub