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

Rationale for the "Never commit to the right side of a Pull line" rule

From
JLJerome Lovy <t2a2e9z8ncbs9qg@brefemail.com>
Date
Oct 26, 2006, 16:47 UTC
Message-ID
<ehqp1u$j4$1@sea.gmane.org>
Hi,

Could someone please point me to / give me the rationale for the "Never commit to the right side of a Pull line" rule ?

I found the rule in the second Note of the git-fetch man-page (eg http://www.kernel.org/pub/software/scm/git/docs/git-fetch.html).

It's been taken over in _bold letters_ by X.Org/freedesktop.org in their "UsingGit" document (http://freedesktop.org/wiki/UsingGit).

In both places though, I don't see any explanation, but rather a commandment ;-) . Am I missing the ovious ?

My candid thoughts: to me the practice recommended here seems subjectively "cleaner" indeed, but is it objectively better or even essential? Why?

TIA Jérôme

Next: Linus Torvalds
Message 1 of 5 in “Rationale for the "Never commit to the right side of a Pull line" rule”
  1. Jerome LovyOct 26, 2006
  2. Linus TorvaldsOct 26, 2006
  3. Karl HasselströmOct 26, 2006
  4. Jakub NarebskiOct 26, 2006
  5. Luben TuikovOct 27, 2006

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.