On Thu, 15 Aug 2019 12:20:38, Corinna Vinschen wrote: > > On Aug 15 09:41, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote: > > > git format-patch output with commit message, please? > >=20 > > Please educate me how to do that; I am just using "git diff --no-color". > > $ git add <files with changes you want to commit> > $ git commit > > - opens editor to create a commit message. first line is summary, > second line stays empty, descriptive text follows in line 3+. > > $ git format-patch -1 > > - creates a git patch file which can be attached to your email or > just send *as* email with `git send-email --to=3D<addr> <filename> > > Starting with git has a bit steep learning curve, but it's totally > worth it. There's a great free online book available:
Steep learning curve is right (but you already got that, is it not, Anton? > > https://git-scm.com/book/ > Look at ch5 (distributed git), then .2 (contributing to a project), then 'Public Project over Email'. Also consult (using your Linux-box?) - man git-format-patch - man git-send-email On Cygwin you have to install both git and git-email ... the latter in case you want to use git send-email ... Also, you will have to extend ~/.gitconfig in case you want to use git send-email w/ [sendemail] smtpserver = smtp.... smtpencryption = ... smtpserverport = ... smtpuser = ... You were leaving town soon, were you not? Good luck! Henri -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple