Browse Source

git-revert documentation: refer to new HOWTO on reverting faulty merges

Signed-off-by: Boyd Stephen Smith Jr <bss@iguanasuicide.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Boyd Stephen Smith Jr 16 years ago committed by Junio C Hamano
parent
commit
b80b5d6799
  1. 8
      Documentation/git-revert.txt

8
Documentation/git-revert.txt

@ -44,6 +44,14 @@ OPTIONS @@ -44,6 +44,14 @@ OPTIONS
option specifies the parent number (starting from 1) of
the mainline and allows revert to reverse the change
relative to the specified parent.
+
Reverting a merge commit declares that you will never want the tree changes
brought in by the merge. As a result, later merges will only bring in tree
changes introduced by commits that are not ancestors of the previously
reverted merge. This may or may not be what you want.
+
See the link:howto/revert-a-faulty-merge.txt[revert-a-faulty-merge How-To] for
more details.

--no-edit::
With this option, 'git-revert' will not start the commit

Loading…
Cancel
Save