美文网首页
修改git提交时的用户名

修改git提交时的用户名

作者: Cola丶ZYQ | 来源:发表于2024-04-08 10:05 被阅读0次

    Committer: MacBook Pro macbookpro@MacBookdeMacBook-Pro.local
    Your name and email address were configured automatically based
    on your username and hostname. Please check that they are accurate.
    You can suppress this message by setting them explicitly. Run the
    following command and follow the instructions in your editor to edit
    your configuration file:

    git config --global --edit
    

    After doing this, you may fix the identity used for this commit with:

    git commit --amend --reset-author

    相关文章

      网友评论

          本文标题:修改git提交时的用户名

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