git配置提交代码时需要的的用户名和邮箱

1. 配置用户名

  git config --global user.name "yongfengnice"

2. 配置邮箱

  git config --global user.email "yongfengnice@gmail.com"

posted @ 2017-07-17 14:11  yongfengnice  阅读(3783)  评论(1编辑  收藏  举报