Re: [PATCH] user-manual: be consistent in illustrations to 'git rebase'
From: Kirill Smelkov <hidden>
Date: 2016-06-15 22:49:38
On Tue, Sep 28, 2010 at 02:47:45AM -0700, Junio C Hamano wrote:
Kirill Smelkov [off-list ref] writes:quoted
Since we use a-b-c for mywork commits in one place, I think it would be logical to also use a-b-c too in other illustration on this topic. Signed-off-by: Kirill Smelkov <redacted> --- Documentation/user-manual.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt index fecc4eb..87ca1a7 100644 --- a/Documentation/user-manual.txt +++ b/Documentation/user-manual.txt@@ -2424,41 +2424,41 @@ Keeping a patch series up to date using git rebase -------------------------------------------------- Suppose that you create a branch "mywork" on a remote-tracking branch "origin", and create some commits on top of it: ------------------------------------------------- $ git checkout -b mywork origin $ vi file.txt $ git commit $ vi otherfile.txt $ git commit ... ------------------------------------------------- You have performed no merges into mywork, so it is just a simple linear sequence of patches on top of "origin": ................................................ o--o--o <-- origin \ - o--o--o <-- mywork + a--b--c <-- mywork ................................................Perhaps you would want to make the origin commit "O" while you are at it (I can locally fix it up)?
Yes, please do, and thanks.