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

Understanding git.git's branch policy

From
Steven E. Harris <seh@panix.com>
Date
Jan 24, 2010, 23:34 UTC
Message-ID
<83pr4znklo.fsf@torus.sehlabs.com>

Radding the maintain-git.txt document¹, there are a few points that I'm having trouble decoding. Under "The Policy", it notes

,----
| The tips of 'master', 'maint' and 'next' branches will always
| fast-forward, to allow people to build their own customization on top
| of them.
`----

I understand that a "fast-forward merge" means that one's current HEAD commit is an ancestor of the evolved branch's head, so that the HEAD pointer can move forward to "catch up" without needing to combine disparate content.

How does this relate to the prescribed use of the "master", "maint", and "next" branches? What operations or patterns does it constrain against?

Footnotes: 
¹ http://kernel.org/pub/software/scm/git/docs/howto/maintain-git.txt
-- 
Steven E. Harris
Next: Petr Baudis
Message 1 of 2 in “Understanding git.git's branch policy”
  1. Steven E. HarrisJan 24, 2010
  2. Petr BaudisJan 25, 2010

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.