GIT配置
来源:互联网 发布:通达信软件官网 编辑:程序博客网 时间:2024/06/06 19:09
1.window下的CRLF与Linux下的LF
提交时转换为LF,检出时转换为CRLF
git config --global core.autocrlf true
提交时转换为LF,检出时不转换
git config --global core.autocrlf input
提交检出均不转换
git config --global core.autocrlf false
拒绝提交包含混合换行符的文件
git config --global core.safecrlf true
允许提交包含混合换行符的文件
git config --global core.safecrlf false
提交包含混合换行符的文件时给出警告
git config --global core.safecrlf warn
2.别名配置
git config --global alias.st status
git config --global alias.co checkout
git config --global alias.ci commit
git config --global alias.br branch
阅读全文
0 0
- 自定义 Git - 配置 Git
- 【Git】Git配置
- git配置
- GIT 配置
- 配置 Git
- Git配置
- Git 配置
- git配置
- Git 配置
- git配置
- 配置 Git
- git配置
- Git配置
- git 配置
- git 配置
- git配置
- Git 配置
- Git 配置
- 字符串的排列
- Java练习
- exception对象
- access+asp 手注
- mysql语句优化总结
- GIT配置
- sublime 插件 for Markdown
- 【PHP】PHP上传文件,上传图片
- HDU-1568 Fibonacci【数学公式题】
- pat a 1103 integer factorization
- [ArcPy] ArcPy综合记录
- 数据库表及其字段变量命名神器之codeIf
- Leetcode之Reshape the Matrix 问题
- 问答机器人的Python分类