On Tue, Dec 1, 2009 at 08:40, Jeenu <jee...@gmail.com> wrote:
> Hi,
> Let's say I have two independent repositories A and B. A has a branch
> 'a', which I want to have in B. What I mean is that I'd like to have
> the sequence of changes in the branch 'a' to be present in B, thus
> creating an independent branch 'b' in B.
> From what I read from manual, 'format-patch' command generates the
> list of patch files from A. But I can't see how to convert those
> patches to a sequence of commits in repo B. I could do a 'git apply
> patches/*' but then all patches collapse to one single commit.
> Is there any way to achieve what I want? Or are there alternatives?

$ git am patches/*

May be some dance with git pull or something like possible also, but
unsure because I never did anything like that.

Andrew W. Nosenko <andrew.w.nose...@gmail.com>


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to