git
qq_16660569
这个作者很懒,什么都没留下…
展开
-
git clone报错: Out of memory, malloc failed (tried to allocate 524288000 bytes)
git clone报错: Out of memory, malloc failed (tried to allocate 524288000 bytes)git 大文件报错Out of memory, malloc failed、 The remote end hung up unexpectedlygit clone报错: Out of memory, malloc failed (tried to allocate 524288000 bytes)IDEA 拉取项目报错:Out of memory,原创 2021-12-15 01:13:14 · 2048 阅读 · 0 评论 -
git的撤销与回滚
git的撤销与回滚在平时使用中还是比较多的,比如说我们想将某个修改后的文件撤销到上一个版本,或者是想撤销某次多余的提交,都要用到git的撤销和回滚操作。撤销分两种情况,一个是commit之前,一个是commit之后,下面具体看下这两种情况。一.git commit之前 未添加到暂存区的撤销(没有git add) 添加进暂存区的撤销(git add后)...转载 2019-06-05 10:35:30 · 96 阅读 · 0 评论 -
git忽略文件追踪
git忽略追踪文件包括两种,一种是未提交到git仓库的文件,一种是已经提交到git仓库中的文件。一、忽略追踪未提交到git仓库的文件将忽略追踪的文件路径写到仓库根目录下的.gitignore文件中即可二、忽略追踪已经提交到git仓库中的文件方案一、在每个clone下来的仓库中手动设置不要检查特定文件的更改情况gitupdate-i...转载 2019-07-22 14:55:10 · 406 阅读 · 0 评论