From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Re: *.bak files in trunk? Date: Tue, 29 Jun 2010 07:41:29 -0400 Message-ID: <874ogmawwm.fsf@gollum.intra.norang.ca> References: <87pqzabr9v.fsf@gollum.intra.norang.ca> <3579339C-B0FA-4686-8D28-DC2B4D74CE3E@gmail.com> <878w5yawyi.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=51360 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTZC2-0004Mn-Eb for emacs-orgmode@gnu.org; Tue, 29 Jun 2010 07:41:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTZC1-0004xd-6b for emacs-orgmode@gnu.org; Tue, 29 Jun 2010 07:41:34 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:58010) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTZC1-0004xZ-52 for emacs-orgmode@gnu.org; Tue, 29 Jun 2010 07:41:33 -0400 In-Reply-To: <878w5yawyi.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Tue\, 29 Jun 2010 07\:40\:21 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Daniel Mahler Cc: emacs-orgmode@gnu.org, Carsten Dominik Bernt Hansen writes: > The easiest way to get rid of them is to have git clean them out -- > you need to tell it to clean out files and include ignored files which > is what the -x switch does. Make sure you specify the '*.bak' pattern > otherwise it will clean out _everything_ that is not tracked which > includes all of your compiled files. > > $ git clean -x '*.bak' and you can dry-run the command by adding the -n switch $ git clean -n -x '*.bak' will tell you what it would have deleted without actually deleting anything. -Bernt