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  阅读(246)  评论(0)    收藏  举报