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

[RFC/PATCH 2/2] Doc rebase: describe the priority of published work

From
Philip Oakley <philipoakley@iee.org>
Date
May 19, 2013, 11:52 UTC
Message-ID
<1368964329-1600-3-git-send-email-philipoakley@iee.org>
In-Reply-To
<1368964329-1600-1-git-send-email-philipoakley@iee.org>
Give details of the implied priority in the description section.
Signed-off-by: Philip Oakley <philipoakley@iee.org>
---
wording based on:
http://article.gmane.org/gmane.comp.version-control.git/222581
http://article.gmane.org/gmane.comp.version-control.git/223816
http://article.gmane.org/gmane.comp.version-control.git/217410
http://article.gmane.org/gmane.comp.version-control.git/222763
---
 Documentation/git-rebase.txt | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
index 87a8095..24d16ef 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -20,6 +20,12 @@ DESCRIPTION
 by default, to the head of the branch's upstream, or onto a new base
 if given.
 
+In its minimal form, having built locally on the (current) branch,
+use `git rebase` to catch up with its published upstream state to
+create a new linear history. Importantly, `git rebase` is a way to
+replay your work on top of the work of others. It is not about
+integrating other people's changes into your work.
+
 If <branch> is specified, 'git rebase' will perform an automatic
 `git checkout <branch>` before doing anything else.  Otherwise
 it remains on the current branch.
-- 
1.8.1.msysgit.1
Previous: Junio C Hamano
Message 8 of 8 in “Improve rebase documenation”
  1. 0/2 Improve rebase documenationPhilip Oakley, May 19, 2013
  2. 1/2 Doc rebase: Describe rebase as excluding merge commitsPhilip Oakley, May 19, 2013
  3. Jonathan NiederMay 19, 2013
  4. Philip OakleyMay 19, 2013
  5. Junio C HamanoMay 20, 2013
  6. Philip OakleyMay 20, 2013
  7. Junio C HamanoMay 20, 2013
  8. 2/2 Doc rebase: describe the priority of published workPhilip Oakley, May 19, 2013

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.