补丁在“git am”之后没有有效的电子邮件地址
Patch does not have a valid e-mail address after `git am`
之后:
git am --signoff < /tmp/diff_api_public.patch
输出为:
Patch does not have a valid e-mail address.
现在,我的存储库处于以下状态:
project-folder[branch-name|AM 1/1]$
下一步要重新获得正确的分支?
查看 contrib/completion/git-prompt.sh
,此特定提示显示在有 .git/rebase-apply/applying
文件的位置。
这应该意味着应用的路径有冲突。
或者,在这种情况下,补丁没有完全应用 (Patch does not have a valid e-mail address
)
状态明确:
- 使用“
git am --skip
”跳过这个补丁
- 使用“
git am --abort
”恢复原来的分支
作为解决方法,为了应用该补丁,您可以查看“git: Patch does not have a valid e-mail address”。
- 或者使用
git apply
- 或编辑补丁以添加正确的电子邮件。
之后:
git am --signoff < /tmp/diff_api_public.patch
输出为:
Patch does not have a valid e-mail address.
现在,我的存储库处于以下状态:
project-folder[branch-name|AM 1/1]$
下一步要重新获得正确的分支?
查看 contrib/completion/git-prompt.sh
,此特定提示显示在有 .git/rebase-apply/applying
文件的位置。
这应该意味着应用的路径有冲突。
或者,在这种情况下,补丁没有完全应用 (Patch does not have a valid e-mail address
)
状态明确:
- 使用“
git am --skip
”跳过这个补丁 - 使用“
git am --abort
”恢复原来的分支
作为解决方法,为了应用该补丁,您可以查看“git: Patch does not have a valid e-mail address”。
- 或者使用
git apply
- 或编辑补丁以添加正确的电子邮件。