[Nouveau] updating the source tree

Pekka Paalanen pq at iki.fi
Thu Oct 7 10:51:45 PDT 2010


On Thu, 07 Oct 2010 19:34:35 +0200
Grzesiek Sójka <pld at pfu.pl> wrote:

> Hi there,
> 
> I downloaded the nouveau/linux-2.6 using the following:
> git clone --depth 1
> git://anongit.freedesktop.org/nouveau/linux-2.6 Is there an easy
> way to update it to the current version (reversing all the
> changes I made) without downloading all the files again??

Yes, this should work:
http://nouveau.freedesktop.org/wiki/InstallDRM#UpdatingtheNouveaukernelgitrepository

That is, to fetch updates:
$ git remote update

and to reset your current checkout to nouveau/master:
$ git reset --hard origin/master

That should discard all commits and local changes you may have made.
It will not remove temporary files or compilation results.

-- 
Pekka Paalanen
http://www.iki.fi/pq/


More information about the Nouveau mailing list