Re: User's mailing list? And multiple cherry pick

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David <wizzardx@...>
Cc: Wincent Colaiuta <win@...>, <git@...>
Date: Wednesday, June 4, 2008 - 7:09 am

David <wizzardx@gmail.com> writes:


For this I think it would be best to use some kind of patch management
interface on top of Git, be it StGIT or Guilt (interface of the latter
is based on Mercurial Queues, hence former name Git Queues (gq)), see
http://git.or.cz/gitwiki/InterfacesFrontendsAndTools (there was also
Patchy Git (pg) tool, but it is no longer maintained).  I personally
use StGIT, therefore all examples will use this tool.

Then you would be able to go back and forth between patches (commits),
correct them, with some difficulty even split or join them.

Now the workflow depends if you are third-party contributor, sending
patches upstream via email, or if you are project maintainer, and
others pull from you.

If you are third-party contributor, sending patches upstream via
email,using "stg mail" or "git format-patch" plus either "git
send-email", or your favorite mail program, you would do the
following, on your topic branch:
  1. edit, going back and forth between patches
  2. "stg mail" patches to maintainer
  3. incorporate feedback, going to 1. if necessary
  4. fetch from upstream (I use "git fetch"/"git remote update")
  5. rebase your patches ("stg rebase <upstream>")
  6. remove applied patches (which should be empty) from stack,
     using "stg clean -a"; remove patches by hand if necessary
     ("stg remove <patchname>").

If you are maintainer / main contributor your workflow would be a bit
different.  Instead of emailing patches you would probably "stg
commit" them, turning them into ordinary commits (removing from patch
queue) when you finish working on them, then probably merge (parts of)
feature branch into one of stable branches ('maint', 'master',
'next',...).

HTH.
-- 
Jakub Narebski
Poland
ShadeHawk on #git
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: User's mailing list? And multiple cherry pick, Stephan Beyer, (Wed Jun 4, 4:00 am)
Re: User's mailing list? And multiple cherry pick, Jakub Narebski, (Wed Jun 4, 3:39 am)
Re: User's mailing list? And multiple cherry pick, Miklos Vajna, (Wed Jun 4, 7:10 am)
Re: User's mailing list? And multiple cherry pick, Theodore Tso, (Wed Jun 4, 7:36 am)
Re: User's mailing list? And multiple cherry pick, Jakub Narebski, (Wed Jun 4, 4:50 am)
Re: User's mailing list? And multiple cherry pick, Jakub Narebski, (Wed Jun 4, 5:47 am)
Re: User's mailing list? And multiple cherry pick, Junio C Hamano, (Wed Jun 4, 2:58 am)
Re: User's mailing list? And multiple cherry pick, Johan Herland, (Wed Jun 4, 4:16 am)
Re: User's mailing list? And multiple cherry pick, Jakub Narebski, (Wed Jun 4, 4:05 am)
Re: User's mailing list? And multiple cherry pick, Wincent Colaiuta, (Wed Jun 4, 5:39 am)
Re: User's mailing list? And multiple cherry pick, Jakub Narebski, (Wed Jun 4, 7:09 am)
Re: User's mailing list? And multiple cherry pick, Wincent Colaiuta, (Wed Jun 4, 7:02 am)
Re: User's mailing list? And multiple cherry pick, Johan Herland, (Wed Jun 4, 4:23 am)