Both git am
and git apply
can be used to apply patches. I fail to see the difference. I see a difference now: git am
automatically com
Both the input and output are different:
--index
or --cached
is used).git am uses git apply behind the scenes, but does more work before (reading a Maildir
or mbox
, and parsing email messages) and after (creating commits).