问题描述
是否可以在由共同撰写的提交预告片,如果帐户持有人选择了阻止公开我的电子邮件的命令行推送"选项?在我的测试中,该选项似乎全部或全部消失,例如,您可以选择该选项并阻止您选择为私有的主地址(使用保留我的电子邮件地址为私有"选项)和您的无回复地址.我期望的是您的无答复地址将永远不会被提交消息阻止,因为,这不是无答复地址的意义吗?
Is it possible to use a no-reply address (like [email protected]
) in a co-authored-by commit trailer if the account holder has selected the "Block command line pushes that expose my email" option? In my testing it seems that that option is all or nothing, as in, you can select that and block both your primary address that you've chosen to be private (with the "Keep my email address private" option) and your no-reply address. What I expected would be that your no-reply address wouldn't ever be blocked from a commit message, because, isn't that the point of a no-reply address?
采用另一种方式:我希望能够为选择将其电子邮件地址设为私人的团队成员添加共同创作者信用.有办法吗?
Put another way: I want to be able to add a co-authored-by credit for a member of the team that chooses to have their email address private. Is there a way to do this?
推荐答案
这是我所有的错误!我使用备用电子邮件地址作为user.email
,而GitHub则标记为 not 另一个用户的不答复地址.一旦我将user.email
更改为我的无答复,推送就完成了(运行git commit --amend
后加上一个将作者更改为我的无答复的标志).
This was all my mistake! I was using a backup email address as my user.email
and GitHub was flagging that not the other user's no-reply address. Once I changed my user.email
to my no-reply the push went through (after running a git commit --amend
plus a flag for changing the author to my no-reply).
这篇关于GitHub与私人noreply地址共同撰写的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!