美文网首页
hexo d错误:fatal: unable to auto-d

hexo d错误:fatal: unable to auto-d

作者: 养码哥 | 来源:发表于2020-02-04 22:46 被阅读0次

    1.报错内容

         、
                 
          *** Please tell me who you are.
    
          Run
    
        git config --global user.email "you@example.com"
        git config --global user.name "Your Name"
    
       to set your account's default identity.
       Omit --global to set the identity only in this repository.
    
        fatal: unable to auto-detect email address (got 
        'helei@LAPTOP-6JRMEKMH.(none)')
        Everything up-to-date
        Branch 'master' set up to track remote branch 'master' from 
        'https://github.com/ithelei/ithelei.github.io.git'.
       �[32mINFO �[39m Deploy done: �[35mgit�[39m
          、
    
    image.png

    解决方案:

    1.在文件浏览器中勾选显示隐藏的项目

    image.png

    2.进入我们博客目录的“.deploy_git.git”子目录,找到config文件。

    image.png

    3.打开config文件,添加以下内容

    [user]
    email=ithelei424@gmail.com
    name=ithelei@sina.cn
    [core]
    repositoryformatversion = 0
    filemode = false
    bare = false
    logallrefupdates = true
    symlinks = false
    ignorecase = true
    [branch "master"]
    remote = https://github.com/ithelei/ithelei.github.io.git
    merge = refs/heads/master

    image.png

    相关文章

      网友评论

          本文标题:hexo d错误:fatal: unable to auto-d

          本文链接:https://www.haomeiwen.com/subject/bbzdxhtx.html