Unable to auto-detect email address

前端 未结 14 1297
故里飘歌
故里飘歌 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:24

    Just type like "correct" case

    "wrong"

    git config --global mike.email "mike@gmail.com"
    git config --global mike.name  "mike"
    

    "correct"

    git config --global user.email "mike@gmail.com"    
    git config --global user.name "mike"
    

    user.name is your account name in git-hub user.email is your email when you sign in git-hub.

提交回复
热议问题