Re: why no "ignore" command on git
- From
Wesley J. Landaker <wjl@icecavern.net>
- Date
- Oct 15, 2009, 04:20 UTC
- Message-ID
- <200910142220.51725.wjl@icecavern.net>
- In-Reply-To
- <42efdea40910141535g23a50b87p9b6c4a0fde7e842e@mail.gmail.com>
On Wednesday 14 October 2009 16:35:23 Ralf Thielow wrote:
> why does git don't have an "ignore" command, to ignore some files or > directories all the time.
[...]
Show 5 quoted lines
> I read on some pages by a google search that you can create > a ".gitignore" directory or something like that. But you had to do > this manually. > > why there is no "ignore" command on git?
You could always make your own git-ignore script, e.g.:
#!/bin/sh echo "$@" >> .gitignore