
Cut out summary from your post content here.
The remaining content of your post.
git vimdiff设置
git config diff.tool vimdiff
git config diftool.vimdiff.cmd=vim -d $LOCAL $REMOTE
git config alias.df difftool
git config alias.st status
git crlf 设置
// 提交时转换为LF,检出时转换为CRLF
git config --global core.autocrlf true
// 提交时转换为LF,检出时不转换
git config --global core.autocrlf input
// 提交检出均不转换
git config --global core.autocrlf false
// 拒绝提交包含混合换行符的文件 (一般设置为true)
git config --global core.safecrlf true
// 允许提交包含混合换行符的文件
git config --global core.safecrlf false
// 提交包含混合换行符的文件时给出警告
git config --global core.safecrlf warn