Git设置用户名邮箱 杨冬青 2020-08-13 302 阅读1分钟 修改单仓库 $ cd path/to/rep $ git config user.name "your name" $ git config user.email "your email" $ git config --list 全局修改 $ git config --global user.name "your name" $ git config --global user.email "your email" $ git config --global -l