DiracKeeko

[git] 合并远程仓库
[git] 合并远程仓库

有两个远程仓库,一个叫learning 一个叫 egg_learn需要把learning仓库的mater分支作为主分支,把egg_learn仓库的master分支合并到learning仓库的master分支。

2022-02-27 23:42:21阅读全文

解决warning: LF will be replaced by CRLF
解决warning: LF will be replaced by CRLF

问题出现场景,主项目(项目1)开发系统windows,默认使用CRLF作为换行符。副项目(项目2)开发系统mac,默认使用LF作为换行符。

2022-07-12 12:34:31阅读全文

github生成token (2022年8月26日)
github生成token (2022年8月26日)

1、浏览器登录github (https://github.com)

2022-09-28 12:20:13阅读全文

[git] 批量删除commit history
[git] 批量删除commit history

场景:远程仓库的时间线从前到后一共有6个提交,分别为A B C D E F(A是远程仓库第一个提交)现在需要实现删除B C D的提交记录,让远程仓库的时间线上只出现 A E F。

2022-10-07 14:28:08阅读全文

[git] out of memory malloc failed 解决
[git] out of memory malloc failed 解决

git提交时,报错"Fatal: Out of memory, malloc failed (tried to allocate 524288000 bytes)"

2023-01-11 01:42:22阅读全文