From: Daniel Stodden Subject: Re: git question Date: Sat, 14 Aug 2010 12:34:33 -0700 Message-ID: <1281814473.2341.21.camel@ramone.somacoma.net> References: <4C666121.60806@access.denied> <4C6679D1.6030305@eu.citrix.com> <4C6696DF.2060304@access.denied> <20100814141648.GV2804@reaktio.net> <4C66A68B.7020607@access.denied> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4C66A68B.7020607@access.denied> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Sat, 2010-08-14 at 10:22 -0400, Stefan Kuhne wrote: > Am 14.08.2010 16:16, schrieb Pasi K=C3=A4rkk=C3=A4inen: >=20 > Hello Pasi, >=20 > > You can use git to merge the patches from branch A to branch B. > >=20 > but i need the plain patches for a vanilla tree and other patches. > So this patches should come into an patchset. > > Do i have to make a diff beetwen Konrads tree and a vanilla one? Navigate to the branch you're interested in, using git checkout as described above. You can use git log to view commits to that particular branch you're on.=20 With -p to see the patches inline, if that helps. Patches are listed in reverse order, use - to seen the last n commits. I usually also use --oneline a lot. Use git format-patch to export patches.=20 Briefly check out rev-parse for an overview on how to select particular revisions and ranges. Before you get more familiar with that, just using - is probably more straightforward. Cheers, Daniel