git config

use following command to see the current config:

$ git config --list

use following command to config the username and email:

$ git config user.name "YOURNAME"
$ git config  user.email "YOUREMAIL"

 

posted @ 2015-04-28 04:16  zmiao  阅读(241)  评论(0编辑  收藏  举报