Unable to auto-detect email address

前端 未结 14 1351
故里飘歌
故里飘歌 2021-01-30 19:40

I\'m new to SmartGit. I can\'t commit through my repository, the message I\'m receiving is:

Unable to auto-detect email address (got \'Arreane@Arreane-PC.(none)\         


        
14条回答
  •  臣服心动
    2021-01-30 20:26

    git config --global user.email "put your email address here" # user.email will still be there  
    git config --global user.name "put your github username here" # user.name will still be there
    

    Note: it might prompt you to enter your git username and password. This works fine for me.

提交回复
热议问题