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

Re: Working with Git and CVS in a team.

From
MSMirko Stocker <m1stocke@hsr.ch>
Date
Jun 13, 2008, 20:43 UTC
Message-ID
<200806132243.36695.m1stocke@hsr.ch>
In-Reply-To
<20080613145010.GU29404@genesis.frugalware.org>
On Friday 13 June 2008 16:50:10 Miklos Vajna wrote:
> On Fri, Jun 13, 2008 at 04:33:34PM +0200, Mirko Stocker 
<mirko.stocker@hsr.ch> wrote:
Show 6 quoted lines
> > What I don't like is how we have to make the upstream patch(es). Is
> > there an easy way we can get multiple patches, lets say for each
> > commit we made? Or is it easier to make a lots of branches and to
> > then create a patch from the diff between the branch and origin/origin?
>
> Don't you mean origin/master?

Hm, I'm not sure.. if I work on an a feature in a branch, and now I want to create a patch that applies to the CVS head, then I have to make the diff to origin/origin, right?

> In general, if you don't merge your changes but you rebase on top of the
> new upstream head, then you can use 'git format-patch origin/master..'
> to create patches for each commit.

Ah, I didn't know about git-rebase, thanks! That's exactly what I wanted :) I think I've already fallen in love with git.

Previous: Miklos VajnaNext: Miklos Vajna
Message 3 of 14 in “Working with Git and CVS in a team.”
  1. Mirko StockerJun 13, 2008
  2. Miklos VajnaJun 13, 2008
  3. Mirko StockerJun 13, 2008
  4. Miklos VajnaJun 13, 2008
  5. Mirko StockerJun 15, 2008
  6. Miklos VajnaJun 15, 2008
  7. John J. FraneyJun 16, 2008
  8. Jakub NarebskiJun 16, 2008
  9. Jeff KingJun 13, 2008
  10. Mirko StockerJun 13, 2008
  11. Jeff KingJun 13, 2008
  12. Mirko StockerJun 15, 2008
  13. Jeff KingJun 15, 2008
  14. Mirko StockerJun 16, 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.