3 ms·
It is also possible to exchange difference between different location using patch file with the git commands 'format-patch' and 'apply'. Patch file are usually
by fjfaase 3y ago
It is also possible to exchange difference between different location using patch file with the git commands 'format-patch' and 'apply'. Patch file are usually a bit smaller and can also be easily mailed.
- vifon 3y agoA minor correction: it's usually preferable to apply commits with `git am` instead of `git apply`, as it applies the commit with all its metadata, not just the diff.
- palata 3y ago> Patch file are usually a bit smaller and can also be easily mailed. The best way to email patches is to use `git send-email`. So that the receiver can directly apply it. It's easy to get it wrong when done manually.