qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] updating git tree


From: Kevin Wolf
Subject: Re: [Qemu-devel] updating git tree
Date: Tue, 28 Apr 2009 15:58:02 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

François Revol schrieb:
>>> Ah, of course, and I don't have the disk space to upgrade from etch 
>>> to 
>>> lenny...
>>> fun.
>>>
>>> I think I'll just send the diffs from the last svn and be done with 
>>> it.
>> you can use:
>>
>> git diff > tmp.patch
>> patch -R -p1 < tmp.patch
>> git pull
>> patch -p1 < tmp.patch
> 
> Ok this seems to work at least for now, I've put it in a script like
> 
> #!/bin/sh
> git diff > tmp.patch && patch -R -p1 < tmp.patch && git pull && patch -
> p1 < tmp.patch && rm tmp.patch
> 
> Seems there is a git-revert, not sure how to use it anyway...
> Oh well...

git revert is for reverting commits. You can use git reset --hard
instead of the patch -R though.

Kevin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]