我编写了一些使用git来应用一些补丁的指令。 这些指令旨在放入控制台中并一步完成操作。 就像这样:
git am bar.patch
git am foo.patch
但是现在 Git 要求用户提供姓名/电子邮件:
*** 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 'root@user-VirtualBox.(none)')
You need to set your committer info first
这似乎是不必要的,因为只有补丁作者出现在git日志中,而没有应用它们的人。是否有一种忽略配置的方法?
编辑:打字错误