![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Git
文章平均质量分 75
git相关操作和问题
YTIANYE
这个作者很懒,什么都没留下…
展开
-
git push 几点报错的解决方式
错误一: fatal: Out of memory, malloc failed (tried to allocate 3194304000 bytes) error: failed to push some refs to 'https://github./xxx.git' 解决: 桌面内存占用太大,关掉一些后就能正常push了。(比如我关掉了了Wallpaper Engine, 这个都能引发错误,脑壳疼) 还不能push的话需要设置 git config --global pack.windo.原创 2021-05-06 11:54:47 · 1128 阅读 · 0 评论 -
Git常用命令总结(迄今为止使用过的命令总结)
目录 连接github git新建分支 git合并分支 git 如何恢复到指定版本 强制push 移除暂存区 连接github https://www.jianshu.com/p/77ef6cdff937 git新建分支 1) 切换到基础分支,如主干 git checkout master 2)创建并切换到新分支 git checkout -b panda git branch可以看到已经在panda分支上 3)更新分支代码并提交 git add * git c..原创 2021-03-25 22:44:43 · 217 阅读 · 0 评论