git修改项目的邮箱与名称 By SR.李 On 2022-03-16 当使用git版本控制工具提交代码时,因为可能用到不同的版本库因此针对特别的项目我们应修改项目本身的提交信息 #查看系统config git config --system --list #查看当前用户(global)配置 git config --global --list #查看当前仓库配置信息 git config --local --list BashCopy –local 项目级 –global 当前用户级 –system 系统级 # 全局配置 git config --global user.name "SR.李" #名称 git config --global user.email "xxxx@qq.com" #邮箱 BashCopy # 项目配置 git config --local user.name "SR.李" #名称 git config --local user.email "xxxx@qq.com" #邮箱 BashCopy # 项目配置 git clone --config core.filemode=false YOUR_REPOSITORY BashCopy