Discuss / Git / 现在 git 改版了吗?必须注册才能用?

现在 git 改版了吗?必须注册才能用?

Topic source
pazz@Surface-Go-for-zz:~/learngit$ git commit -m "wirte readme"
*** 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: empty ident name (for <pazz@Surface-Go-for-zz.localdomain>) not allowed
pazz@Surface-Go-for-zz:~/learngit$ ls
readme.txt
pazz@Surface-Go-for-zz:~/learngit$ ls -a
.  ..  .git  readme.txt
pazz@Surface-Go-for-zz:~/learngit$

廖雪峰

#2 Created at ... [Delete] [Delete and Lock User]

仔细阅读上一节

有大小姐

#3 Created at ... [Delete] [Delete and Lock User]
$ git config --global user.name "Your Name"
$ git config --global user.email "email@example.com"

  • 1

Reply