On Thu, 27 Mar 2025 at 09:33, LIU Hao via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > > 在 2025-3-27 16:51, Gwen Fu via Gcc-help 写道: > > After git commit, should I use“git -changelog” ? > > or maybe "./contrib/mklog.py"? > > `git show <commit-sha> | ./contrib/mklog.py` > > If you have saved a patch locally with `git format-patch`, then > > `./contrib/mklog.py <path-to-patch>` > > > > And when executing git send email "Unable to initialize smtp properly" > > git send-mail has never been working for me. I always send patches as attachments. You need a working sendmail (or equivalent, I use msmtp) or an available SMTP relay that allows you to send email. You can use smtp.gmail.com to do that, but it's a bit complicated: https://stackoverflow.com/a/68238913/981959