Unable to auto-detect email address

前端 未结 14 1295
故里飘歌
故里飘歌 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.

    0 讨论(0)
  • 2021-01-30 20:28

    it's pretty simple but tricky at the first time.
    For example:
    If my email is mrsuicidesheep@gmail.com type:

    git config --global user.email mrsuicidesheep@gmail.com
    

    OR

    If my username is mrsuicidesheep type:

    git config user.name mrsuicidesheep
    
    0 讨论(0)
提交回复
热议问题