From: Matthieu Moy <Matthieu.Moy@grenoble-inp•fr>
To: "Wesley J. Landaker" <wjl@icecavern•net>
Cc: Ralf Thielow <ralf.thielow@googlemail•com>, git@vger•kernel.org
Subject: Re: why no "ignore" command on git
Date: Thu, 15 Oct 2009 13:31:01 +0200 [thread overview]
Message-ID: <vpqaazsrj0q.fsf@bauges.imag.fr> (raw)
In-Reply-To: <200910142220.51725.wjl@icecavern.net> (Wesley J. Landaker's message of "Wed\, 14 Oct 2009 22\:20\:50 -0600")
"Wesley J. Landaker" <wjl@icecavern•net> writes:
> 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.
> [...]
>> 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/
next prev parent reply other threads:[~2009-10-15 11:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-14 22:35 why no "ignore" command on git Ralf Thielow
2009-10-14 23:02 ` Scott Wiersdorf
2009-10-15 4:20 ` Wesley J. Landaker
2009-10-15 9:29 ` Johannes Schindelin
2009-10-15 11:31 ` Matthieu Moy [this message]
2009-10-15 15:52 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vpqaazsrj0q.fsf@bauges.imag.fr \
--to=matthieu.moy@grenoble-inp$(echo .)fr \
--cc=git@vger$(echo .)kernel.org \
--cc=ralf.thielow@googlemail$(echo .)com \
--cc=wjl@icecavern$(echo .)net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox