Unable to auto-detect email address

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

提交回复
热议问题