git send-email
与gmail一起使用?
我想要为 glibc
(GNU C 库,不要与 GNOME 的 GLib 库混淆)做贡献,例如更新 glibc/benchtests/bench-malloc-thread.c
的 malloc 速度测试 benchtest,但它们过时且陈旧,在仍然停留在黑暗时代的地方我们必须通过电子邮件和命令行提交补丁,而不是通过 GitHub 或 GitLab 开启 Pull Request。:)
请参阅 glibc
的贡献说明:https://sourceware.org/glibc/wiki/Contribution%20checklist:
git format-patch
使用git send-email --to=libc-alpha@sourceware.org
将补丁发送到列表,使用--cc
在需要时引起特定维护者的注意。
如果您的补丁尚未被审核,请每周至少发起一次催促。
- git: 'send-email' 不是一个 git 命令。请参阅 'git --help'
- https://coderwall.com/p/qcsiew/setting-up-and-using-git-send-email-with-gmail
- https://coderwall.com/p/dp-gka/setting-up-git-send-email-with-gmail
- https://git-scm.com/docs/git-send-email#_use_gmail_as_the_smtp_server
- https://git-scm.com/docs/git-credential
- https://gist.github.com/jasonkarns/4354421
- https://gist.github.com/winksaville/dd69a860d0d05298d1945ceff048ce46
- 2023年4月8日添加,根据 @mcepl 在这个已删除的回答中:[也不完整] https://git-send-email.io/
注意:另一个需要使用
git send-email
来贡献补丁的项目是Buildroot(参见这里:https://buildroot.org/downloads/manual/manual.html#submitting-patches),它用于构建定制的嵌入式Linux发行版。因此,如果你也想弄清楚如何在Buildroot中做到这一点,请参考我的答案。