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

Re: git branch diagram

From
Sitaram Chamarty <sitaramc@gmail.com>
Date
Apr 18, 2008, 01:38 UTC
Message-ID
<2e24e5b90804171838w6809cb17sded64367d5ebc222@mail.gmail.com>
In-Reply-To
<911589C97062424796D53B625CEC0025E460C3@USCOBRMFA-SE-70.northamerica.cexp.com>

[Patrick: apologies if you get this twice; the first time I did "reply" instead of "reply all" and it only went to you, not the list.]

On Thu, Apr 17, 2008 at 10:30 PM,  <Patrick.Higgins@cexp.com> wrote:
>  Does my diagram make sense? Are there any suggestions or corrections?
Looks ok to me, but I'm still learning git myself... so beware of what I say :-)
Some quick comments:

The Project repo (the big one in the middle) need not, I think, maintain long-lived tracking branches for every developer. Rather, that repo would pull based on outside-git inputs (analogous to emails saying "please pull from ...") and there might be a temp tree created to test stuff out but once the merge or cherry-pick into the local master is done that temp tree would disappear

However, if you don't have too many devs then your method is fine too.

The problem with devs working on the same branch that the project repo pulls is that the commits may have some cruft, even though you said they'd make branches for experimental things. The way I'm working now, my "master" is clean as a whistle and anyone pulling from it and merging gets exactly what is needed.

Again, this is not a rule, but personal preference and if your style of working is very clean then this may not be needed.

Regards,
Sitaram
Previous: patrick.higgins@cexp.comNext: Roman V. Shaposhnik
Message 2 of 10 in “git branch diagram”
  1. patrick.higgins@cexp.comApr 17, 2008
  2. Sitaram ChamartyApr 18, 2008
  3. Roman V. ShaposhnikApr 18, 2008
  4. Karl HasselströmApr 18, 2008
  5. Fedor SergeevApr 18, 2008
  6. Matt GrahamApr 18, 2008
  7. Jakub NarebskiApr 21, 2008
  8. Matt GrahamApr 21, 2008
  9. Jakub NarebskiApr 21, 2008
  10. Luciano RochaApr 21, 2008

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.