The other option is a 'git bundle' which transfers the latest changes since a 
designated cut point.

  ----- Original Message ----- 
  From: Gergely Polonkai 
  Cc: Raluca Popa 
  Sent: Tuesday, March 17, 2015 6:43 AM
  Subject: Re: [git-users] GIT command/plugin to create archive to send it for 
the code review


  if both parties are using Git, maybe you should go with git-format-patch, 
while the other side can use git-am.


  On 16 Mar 2015 15:03, "Konstantin Khomoutov" <> 

    On Wed, 11 Mar 2015 04:54:36 -0700 (PDT)
    Raluca Popa <> wrote:

    > Is there a plugin to integrate with GIT in order to have the chance
    > to create an archive with the local changes?
    > For instance I want to create an archive (zip/jar - I am coding in
    > Java) with the files I changed in order to send them via e-mail to a
    > technical team lead. That team lead will download the archive I sent
    > and create using a command line/user interface command, just to
    > create my own local changes on his local machine.

    I think you're missing proper code review tools which might be
    full-profile (like Gerrit) or low-profile (like just mailing your
    changes as a patch or a patchset) so I'd first ponder a possibility of
    implementing such a proper code review.

    If you still insist on doing it the way you outlined, this solution can
    be easily scripted in whatever programming language you're comfortable
    with -- around the `git show --num-status` or `git show --raw` commands:
    these return a list of files "touched" by the most recent commit, so in
    your script you could read the names of those files and then run any
    archival tool to prepare an archive you need.
    Note that if you want to include the files touched not only by the most
    recent commit but by a range of commits, you'll need to use `git diff`
    with the names of the first and last commits.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to