windows环境下的git包自带了dos2unix,直接在git bash中执行以下命令转换当前目录下的所有文件

find . -type f -print0 | xargs -0 dos2unix