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

git-branch, older repos and more confusion

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Apr 12, 2007, 04:14 UTC
Message-ID
<46a038f90704112114t520374b2qea4f860575c21bce@mail.gmail.com>

Thanks to Peff for helping me out earlier with my git-branch usage. Alas, I seem to be in trouble again.

My git tracking repo is still using the .git/remotes/origin infrastructure, and now it turns out I can't seem to do a git-pull and then a git-format-patch of my local 'master' for patches to go on top of junio's master. I am using 1.5.1.106.ga32037

I'll get a new checkout, but I'm a bit miffed that this is broken -- I wanted to use git-format-patch to migrate unmerged patches to the new checkout.

<rant> This is all a bit confusing, and "the right way to do it" is changing too fast. And with the changes, all the little things that make it easy to manage it are lost, and all the wiki pages and documentation bits are old and wrong. The simple master/origin scheme works well, is dead easy to teach, and has worked well for my team of ~14 developers working on maybe ~40 custom branches. It's pretty safe from errors too ;-)

Alas - I think support for it seems to be going the away... what I am missing is a clear way to say git-clone <repo>#branch that has the same properties that `cg-clone <repo>#branch` has. Namely, once you are done, there are clear names for your "local tip" and "remote tip", and push and pull do the right thing without extra params.

cheers,
martin
Next: Jeff King
Message 1 of 9 in “git-branch, older repos and more confusion”
  1. Martin LanghoffApr 12, 2007
  2. Jeff KingApr 12, 2007
  3. Sam VilainApr 12, 2007
  4. Martin LanghoffApr 12, 2007
  5. Martin LanghoffApr 12, 2007
  6. Jeff KingApr 12, 2007
  7. Martin LanghoffApr 12, 2007
  8. Martin LanghoffApr 12, 2007
  9. Jeff KingApr 12, 2007

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.