# HG changeset patch # User Oleksandr Gavenko # Date 1513697166 -7200 # Node ID 473f6c2b0fdfa2bbaf3e3bea236a80009adaac6a # Parent d62eb2a97d309547995820e046f5e3c4d604b618 Import patch. diff -r d62eb2a97d30 -r 473f6c2b0fdf git.rst --- a/git.rst Thu Dec 14 01:20:06 2017 +0200 +++ b/git.rst Tue Dec 19 17:26:06 2017 +0200 @@ -429,6 +429,29 @@ $ $EDITOR $LOG $ git bisect replay $LOG +Import patch +============ + +Check patch summary:: + + git apply --stat my.patch + +Detect possible errors during patch application:: + + git apply --check my.patch + +Apply patch to working tree without commit:: + + git apply my.patch + +Commit patch:: + + git am my.patch + +Commit patch by signing you as reviewer:: + + git am --signoff my.patch + Debug git network operation ===========================