- 博客(2)
- 收藏
- 关注
原创 git项目文件换行CRLF
因为项目里面有sh脚本,window系统git拉项目,打包发布项目启动脚本报错,使用notepad++打开发现文件换行符变成CRLF,Linux系统不能识别。 后来更改git的全局配置 antocrlf false 提交时转换为LF,检出时转换为CRLF git config --global core.autocrlf true 提交时转换为LF,检出时不转换 git config --global core.autocrlf input 提交检出均不转换 git config --glob
2022-07-08 17:48:13 257 1
原创 svn 历史记录迁移Git
配置svn用户对应git用户信息文件users.txt test = test 〈邮箱〉 克隆SVN项目 git svn clone svnURL--no-metadata --authors-file=users.txt 关联git项目 git add remote gitURL 同步需提交的分支 git pull origin 分支名 --allow-unrelated-histories 提交到远程分支 git push origin 分支名 ...
2022-07-08 17:37:42 124
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人