Re: How do I apply a single "change"
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 8, 2006, 00:38 UTC
- Message-ID
- <7v7j9b8sgf.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060108003114.4679.qmail@web31812.mail.mud.yahoo.com>
Luben Tuikov <ltuikov@yahoo.com> writes:
Show 5 quoted lines
> ... how do I apply a single "change", identified > by its SHA? Either from one branch to the other or > remote? > > I.e. I want to "integrate" only that change?
$ git-cherry-pick $object_name
> Alternatively, how do I apply the absolute output of > "git-format-patch". I tried but whatever I tried with > complained that it couldn't find any email addressess. > (roll eyes here)
It is unclear what you mean by absolute output, but here is what I regularly do:
$ git-format-patch -k -m --stdout from to | git am -3 -k