全局修改(对应修改配置文件:~/.gitconfig)
git config --global user.name "Your Name"
git config --global user.email "email@example.com"
只修改当前资源库(对应修改配置文件:工作区目录/.git/config)
git config user.name "Your Name"
git config user.email "email@example.com"
全局修改(对应修改配置文件:~/.gitconfig)
git config --global user.name "Your Name"
git config --global user.email "email@example.com"
只修改当前资源库(对应修改配置文件:工作区目录/.git/config)
git config user.name "Your Name"
git config user.email "email@example.com"
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。