git fetch –all git reset –hard origin/master git pull //可以省略 git fetch 指令是下载远程仓库最新内容,不做合并 git reset 指令把HEAD指向master最新版本
Leave a CommentTag: Git
fatal: Out of memory, malloc failed (tried to allocate 524288000 bytes) git config http.postBuffer 0 git config –global http.postBuffer 0
Leave a Commentgit rm -r –cached . git add . git commit -m ‘update .gitignore’
Leave a Comment