emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: *.bak files in trunk?


From: Bernt Hansen
Subject: Re: [Orgmode] Re: *.bak files in trunk?
Date: Tue, 29 Jun 2010 07:41:29 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Bernt Hansen <address@hidden> 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



reply via email to

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