public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: "Wesley J. Landaker" <wjl@icecavern•net>
To: Ralf Thielow <ralf.thielow@googlemail•com>
Cc: git@vger•kernel.org
Subject: Re: why no "ignore" command on git
Date: Wed, 14 Oct 2009 22:20:50 -0600	[thread overview]
Message-ID: <200910142220.51725.wjl@icecavern.net> (raw)
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.
[...]
> 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

  parent reply	other threads:[~2009-10-15  4:23 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 [this message]
2009-10-15  9:29   ` Johannes Schindelin
2009-10-15 11:31   ` Matthieu Moy
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=200910142220.51725.wjl@icecavern.net \
    --to=wjl@icecavern$(echo .)net \
    --cc=git@vger$(echo .)kernel.org \
    --cc=ralf.thielow@googlemail$(echo .)com \
    /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