git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-pull.txt: Add picture to --rebase option
@ 2010-12-03  8:41 jari.aalto
  2010-12-03 14:56 ` Jakub Narebski
  2010-12-03 19:35 ` Junio C Hamano
  0 siblings, 2 replies; 3+ messages in thread
From: jari.aalto @ 2010-12-03  8:41 UTC (permalink / raw)
  To: git; +Cc: Jari Aalto

From: Jari Aalto <jari.aalto@cante.net>

Illustrate what are the effects of the the option.

Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
 Documentation/git-pull.txt |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/Documentation/git-pull.txt b/Documentation/git-pull.txt
index e47361f..25eb6de 100644
--- a/Documentation/git-pull.txt
+++ b/Documentation/git-pull.txt
@@ -106,6 +106,18 @@ This is a potentially _dangerous_ mode of operation.
 It rewrites history, which does not bode well when you
 published that history already.  Do *not* use this option
 unless you have read linkgit:git-rebase[1] carefully.
++
+The effects of this option are:
+------------
+    [initial]
+    o---o---o---A--B   Your work in commit A and B
+
+    [git pull --rebase]
+    o---o---o---*---*--A--B
+                |   |
+                New updates merged in. Your work is rebased
+                on top of them.
+------------
 
 --no-rebase::
 	Override earlier --rebase.
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-03 19:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-03  8:41 [PATCH] git-pull.txt: Add picture to --rebase option jari.aalto
2010-12-03 14:56 ` Jakub Narebski
2010-12-03 19:35 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).