- 博客(2)
- 收藏
- 关注
原创 windows向暂存区添加修改提示warning: LF will be replaced by CRLF
这是windows、linux换行符不一致的问题。 windows中换行符为 CRLF, linux下换行符为LF,将linux下的文件下载到windows后执行git add *添加git暂存区提示标题内容,解决办法: $ rm -rf .git // 删除.git $ git config --global core.autocrlf false //禁用自动转换 重新执行: ...
2018-12-18 23:08:39 143
原创 更新centos系统yum的base-repo源
以国内阿里云镜像为例 (1)把/etc/yum.repos.d/下面所有的源给删除掉了 (2)下载镜像 # CentOS 5 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo # CentOS 6 wget -O /etc/yum.repos.d/CentOS-Base....
2018-12-16 23:27:42 5880
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人