I have a project where I made changes, and want to send them to another user, using git send-email feature.
I found that it works by sending patches (created by git format-patch of each commit).
Is it able to send just diff's ? I don't want to commit first, and then send the patch.
Does git format-patch or maybe send-email have some parameter to just do that quickly?
Thanks in advance.
It turns out not to be possible. So I commited and tried to
send-emailit, which throws an errorThis error is related to my smtp-server not supporting authentication.
To solve this, I commented the line in my
.gitconfigwhere it sayssmtpuser,so that it doesn't pass any user or password to git. Then, the email gets sent without a problem.But I still think that should have an option to use
send-emailfeature, sending a patch without having to commit it first.