Py学习  »  Git

如何配置并使用“git send email”与gmail一起向开发者发送补丁

Gabriel Staples • 4 年前 • 2184 次点击  

如何配置 git send-email 使用gmail?


我想为你做贡献 glibc ,例如,更新 glibc/benchtests/bench-malloc-thread.c malloc speed test benchtest,但它们既古老又过时,仍然生活在黑暗时代,我们必须通过命令行的电子邮件提交补丁,而不是通过GitHub或GitLab打开拉取请求。:)

看见 格利伯 以下是作者的投稿说明: https://sourceware.org/glibc/wiki/Contribution%20checklist :

  • 使用创建一个或多个修补程序 git format-patch
  • 使用 git send-email --to=libc-alpha@sourceware.org 要将修补程序发送到列表,请使用 --cc 如果需要,引起特定维护人员的注意。
  • 如果你的补丁还没有被审核,至少每周Ping一次

我试着阅读并遵循一些参考资料,但似乎没有一个是完整的,即:

  1. git: 'send-email' is not a git command. See 'git --help'
  2. https://coderwall.com/p/qcsiew/setting-up-and-using-git-send-email-with-gmail
  3. https://coderwall.com/p/dp-gka/setting-up-git-send-email-with-gmail
  4. https://git-scm.com/docs/git-send-email#_use_gmail_as_the_smtp_server
  5. https://git-scm.com/docs/git-credential
  6. https://gist.github.com/jasonkarns/4354421
  7. https://gist.github.com/winksaville/dd69a860d0d05298d1945ceff048ce46
Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/129616
文章 [ 1 ]  |  最新文章 4 年前