小编Max*_*axG的帖子

git commit asking for who you are

I ran into below error message while trying to make some commits.

*** Please tell me who you are.

    Run

      git config --global user.email "you@example.com"
      git config --global user.name "Your Name"
Run Code Online (Sandbox Code Playgroud)

可以通过输入如图所示的指示命令来解决该问题。我只是想知道为什么会出现这样的消息?我已经使用 git 一段时间了,通常它只会提交并添加文件,而不会出现任何这样的消息。

git git-commit

3
推荐指数
1
解决办法
3972
查看次数

标签 统计

git ×1

git-commit ×1