git config --global sendemail.smtp-encryption tls
git config --global sendemail.smtpserver zeus.spd.analog.com
https://elinux.org/Mail_client_tips
git remote add upstream https://github.com/torvalds/linux
git fetch upstream
git worktree add -b regmap_7_17_format_wr ../torvalds_linux upstream/master
git format-patch HEAD~1
or
with cover letter: git format-patch --cover-letter HEAD~2 -o iio-adrf6780
git format-patch -v4 HEAD~2 -o iio-adrf6780
./scripts/get_maintainer.pl 0001-regmap-add-support-for-7-17-register-formating.patch
git send-email [email protected] [email protected] 0001-regmap-add-support-for-7-17-register-formating.patch
or
with script: git send-email --to-cmd='./scripts/get_maintainer.pl --norolestats 000*' 0001-regmap-add-support-for-7-17-register-formating.patch