git 在windows下的配置

在 windows下 如果同步 macos,,linux上的代码 会出现一些问题 ,

提前修改git 配置可以减少麻烦


git config --system core.sparsecheckout true --global

git下解除windows长路径文件限制

git config --system core.longpaths  true --global

git下解除windows文件换行符格式限制

git config --system core.autocrlf  false --global

posted @ 2022-07-26 12:28  独思则滞而不通  阅读(219)  评论(0)    收藏  举报