How to solve the timeout of pulling large files by git
This article mainly explains the "git pull large file timeout how to solve", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's train of thought slowly in depth, together to study and learn "git pull large file timeout how to solve" it!
1. Set the depth git clone-- depth 1 https://gitee.com/tcwong/pengExpressMS.git
Under the cd yyyy directory
2. Configuration file git config-add core.compression-13, pull master branch git fetch-unshallow4, configuration pull all branch codes
Go to the project root folder and modify the config file in the .git hidden folder directory
Fetch = + refs/heads/master:refs/remotes/origin/master
Modify to
Fetch = + refs/heads/*:refs/remotes/origin/*5, once again pull the replacement code git pull origin thank you for reading, the above is the "git pull large file timeout how to solve" the content, after the study of this article, I believe you on git pull large file timeout how to solve this problem has a deeper understanding, the specific use of the situation also need to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!