Re: [TopGit PATCH] .gitignore += vim swap files
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Sep 18, 2008, 19:30 UTC
- Message-ID
- <alpine.LNX.1.00.0809181526190.19665@iabervon.org>
- In-Reply-To
- <36ca99e90809181038o74c73121j59849b3f24fe6469@mail.gmail.com>
On Thu, 18 Sep 2008, Bert Wesarg wrote:
Show 17 quoted lines
> On Thu, Sep 18, 2008 at 18:29, Kirill Smelkov <kirr@landau.phys.spbu.ru> wrote: > > Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru> > > --- > > .gitignore | 2 ++ > > 1 files changed, 2 insertions(+), 0 deletions(-) > > > > diff --git a/.gitignore b/.gitignore > > index 8868f2d..aa39db4 100644 > > --- a/.gitignore > > +++ b/.gitignore > > @@ -18,3 +18,5 @@ tg-import.txt > > tg-remote > > tg-remote.txt > > tg > > + > > +*.swp > can't you do this in your .git/info/excludes?
It's generally better to put a core.excludesfile entry in your ~/.gitconfig pointing to a ignore file with editor temporaries for the editor(s) you personally use. This will then apply to all git projects you work on.
-Daniel *This .sig left intentionally blank*