Re: why no "ignore" command on git
From: Matthieu Moy <hidden>
Date: 2016-06-15 22:47:33
"Wesley J. Landaker" [off-list ref] writes:
On Wednesday 14 October 2009 16:35:23 Ralf Thielow wrote:quoted
why does git don't have an "ignore" command, to ignore some files or directories all the time.[...]quoted
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
Sure. OTOH, there are other interesting things a "ignore" command can do. bzr, for example, has a "bzr ignore" command that can either add stuff to your .bzrignore, or tell you which pattern cause which file to be ignored. That's handy sometimes. -- Matthieu Moy http://www-verimag.imag.fr/~moy/