From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70842 Path: news.gmane.org!not-for-mail From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-sync and the new nnimap Date: Tue, 14 Sep 2010 18:48:51 +0200 Message-ID: <878w3446fg.fsf@gmail.com> References: <8739tcd2jx.fsf@lifelogs.com> <87vd68a8ea.fsf@lifelogs.com> <87d3sg4hh0.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1284482989 26383 80.91.229.12 (14 Sep 2010 16:49:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Sep 2010 16:49:49 +0000 (UTC) Cc: ding@gnus.org To: Lawrence Mitchell Original-X-From: ding-owner+M19215@lists.math.uh.edu Tue Sep 14 18:49:48 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OvYhU-0005NE-Qh for ding-account@gmane.org; Tue, 14 Sep 2010 18:49:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OvYhP-0005an-Fl; Tue, 14 Sep 2010 11:49:39 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OvYhO-0005aZ-0i for ding@lists.math.uh.edu; Tue, 14 Sep 2010 11:49:38 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OvYhK-0003Lv-1X for ding@lists.math.uh.edu; Tue, 14 Sep 2010 11:49:37 -0500 Original-Received: from mail-bw0-f44.google.com ([209.85.214.44]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OvYhJ-0002Pl-00 for ; Tue, 14 Sep 2010 18:49:33 +0200 Original-Received: by bwz9 with SMTP id 9so7896729bwz.17 for ; Tue, 14 Sep 2010 09:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :in-reply-to:references:user-agent:date:message-id:mime-version :content-type:content-transfer-encoding; bh=Y4rmVQYJQ0ZxSc3259vXCzT9ZiepUSJtccmdOSKNfVM=; b=gaY0BLfbJI3BhPQb4egF7sg0VRxlzTeURlq75myicuoiYSi85xg5UOSdyh8KjGylBt MSQenhmpSUx8TNdeOcTBDhBSxrksrQhMHqlHBGaIRUcSohiviZrxSlgfHbUwbI/O6IS0 ajG94gZfd9daRvkChXCYO4uaK3HPlxejy2dvo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:content-transfer-encoding; b=qMNW9vQb2klf/nWgZJFIOUOohBGD1Ob91MhAmAWsBSE2JZSVBxUk2bSMGHlkcJADw1 EEBgatTsJYUJJyyOhDOApQLV59bZwK4yckelJXrB2SXYvxiIfCfgJ3OwDD8gTibymfPE Euj5GR9C/F0gD0L9tQszyCyVm9ntPpD2edk0U= Original-Received: by 10.204.131.132 with SMTP id x4mr164916bks.50.1284482972803; Tue, 14 Sep 2010 09:49:32 -0700 (PDT) Original-Received: from localhost ([88.103.132.186]) by mx.google.com with ESMTPS id 11sm370525bkj.11.2010.09.14.09.49.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 14 Sep 2010 09:49:31 -0700 (PDT) In-Reply-To: (Lawrence Mitchell's message of "Tue, 14 Sep 2010 16:31:37 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70842 Archived-At: Lawrence Mitchell writes: > Lars Magne Ingebrigtsen wrote: >> =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec writes: > >>> ... and `git revert ' does exactly what you need -- it makes a >>> new commit undoing changes done by a previous commit. > >> There are several commits that need undoing. Should I do them in a >> particular order? > >> It would really be easier to get an old version of the file, perhaps... > > git checkout OLDCOMMIT -- path/to/file.el > > Or if you want to do it all interactively, perhaps: > > git checkout --patch OLDCOMMIT -- path/to/file.el You can also use the `-n/--no-commit' option to `git revert' to only apply the changes necessary to back out a commit, but not commit them automatically right away, thus enabling you to make a single commit reverting multiple previous commits... TIMTOWTDI, with Git, sky's the limit ;-) =C5=A0t=C4=9Bp=C3=A1n