Git: autocomplete –trailer and –cc in zsh
· ☕ 3 min read · ✍️  Firmin Martin
Introduction When working on a Git repository developped through email-based workflow (e.g. Git, Linux kernel, Emacs, notmuch etc.), it is often needed to git commit with the --trailer option to acknowledge people, and to git send-email with the --to & -cc options to indicate the recipients of the patch series to send. Newcomers of such workflow, as me, would copy one by one the email addresses from git-log or the project mailing list at the beginning.