下面的这两行命令就是设置用户名和email:
进入源代码所在目录,右键点git bash,输入命令
$ git config --global user.name author #将用户名设为author $ git config --global user.email [email protected] #将用户邮箱设为[email protected]
下面的这两行命令就是设置用户名和email:
进入源代码所在目录,右键点git bash,输入命令
$ git config --global user.name author #将用户名设为author $ git config --global user.email [email protected] #将用户邮箱设为[email protected]