git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCHv2] Have manpage reference new documentation on reverting merges.

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 21, 2008, 21:54 UTC
Message-ID
<7vy6y9kxdh.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<E1LEVxk-0001jS-Cc@rei.iguanasuicide.net>
"Boyd Stephen Smith Jr." <bss@iguanasuicide.net> writes:
> I took the alternative approach.

Thanks. I was thinking about doing this instead; how the reference to the HOW-TO is done is different, and I am hoping that it would give better result for HTML version at least.

 Documentation/git-revert.txt |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
diff --git c/Documentation/git-revert.txt w/Documentation/git-revert.txt
index caa0729..b87f2b3 100644
--- c/Documentation/git-revert.txt
+++ w/Documentation/git-revert.txt
@@ -44,6 +44,15 @@ OPTIONS
 	option specifies the parent number (starting from 1) of
 	the mainline and allows revert to reverse the change
 	relative to the specified parent.
++
+By reverting a merge, you are telling git that you never want the changes
+the merge made to your tree.  If the branch the reverted merge merged is
+updated later, and you merge from it again, git remembers this, and only
+brings in the changes on the branch that are made after the previously
+reverted merge.  This may or may not be what you want.
++
+See 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
Previous: Boyd Stephen Smith Jr.Next: Boyd Stephen Smith Jr.
Message 6 of 7 in “Have manpage reference new documentation on reverting merges.”
  1. Have manpage reference new documentation on reverting merges.Boyd Stephen Smith Jr., Dec 21, 2008
  2. Junio C HamanoDec 21, 2008
  3. Boyd Stephen Smith Jr.Dec 21, 2008
  4. Junio C HamanoDec 21, 2008
  5. [PATCHv2] Have manpage reference new documentation on reverting merges.Boyd Stephen Smith Jr., Dec 21, 2008
  6. Junio C HamanoDec 21, 2008
  7. [PATCHv3] Have git revert documentation reference new HOWTO on reverting faulty merges.Boyd Stephen Smith Jr., Dec 22, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.