【发布时间】:2021-09-15 05:14:19
【问题描述】:
如何配置 git send-email 以使用 gmail?
我想为glibc 做出贡献,例如,更新glibc/benchtests/bench-malloc-thread.c malloc 速度测试基准测试,但它们已经过时且过时,并且仍然生活在黑暗时代,我们必须通过电子邮件提交补丁:命令行而不是通过 GitHub 或 GitLab 打开拉取请求。 :)
在此处查看glibc 的投稿说明:https://sourceware.org/glibc/wiki/Contribution%20checklist:
- 使用
git format-patch创建一个或多个补丁- 使用
git send-email --to=libc-alpha@sourceware.org将补丁发送到列表,如果需要,使用--cc引起特定维护者的注意。- 如果您的补丁尚未经过审核,请至少每周 Ping 一次
我已经尝试阅读和关注一堆资源,但似乎没有一个是完整的,即:
- git: 'send-email' is not a git command. See '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
【问题讨论】:
标签: git