git question

Tirtha Ghosh gtirtha at gmail.com
Tue Jan 24 00:11:13 EST 2012


if you want to merge the whole branch..use git merge (
http://book.git-scm.com/3_basic_branching_and_merging.html ). You might get
some conflicts..resolve them, add them and continue with git merge.

On other hands, if you want to get only some of the commits and not the
whole branch...you can use git cherry-pick (
http://wiki.koha-community.org/wiki/Using_Git_Cherry_Pick ). You still
might get some conflicts..resolve and add them and use "git commit -c
<commit id>"

Links provided are good to follow.

regards,
Tirtha

On Tue, Jan 24, 2012 at 4:32 AM, chromaticwt zac <zac.3.14159 at gmail.com>wrote:

> I have a git question regarding the linux kernel. I have cloned
> linux-stable. I want to merge fs/btrfs from another tree into my
> linux-stable repo. how can I do this?
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120124/a3a9e2c4/attachment.html 


More information about the Kernelnewbies mailing list