git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Armen Baghumian <armen@OpenSourceClub.org>
To: git@vger.kernel.org
Subject: Re: git include
Date: Mon, 30 Nov 2009 10:40:55 +0330	[thread overview]
Message-ID: <20091130104055.3c3274f5@Office> (raw)
In-Reply-To: <fcaeb9bf0911292245t6b18c238s2859d2cbd5dd26be@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]


Probably you want to add .gitignore too

*
!*.ml
!.gitignore

On Mon, 30 Nov 2009 13:45:57 +0700
Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote:

> On Mon, Nov 30, 2009 at 1:41 PM, Rakotomandimby Mihamina
> <mihamina@gulfsat.mg> wrote:
> > Hi all,
> >
> > I would like to track only *.ml files and ignore all others.
> > Is there a way to do that in .gitignore?
> 
> This .gitignore should work (of course for new files only):
> -->8--
> *
> !*.ml
> -->8--

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-11-30  7:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-30  6:41 git include Rakotomandimby Mihamina
2009-11-30  6:45 ` Nguyen Thai Ngoc Duy
2009-11-30  7:10   ` Armen Baghumian [this message]
2009-11-30  7:29     ` Nguyen Thai Ngoc Duy
2009-11-30  7:33       ` Rakotomandimby Mihamina
2009-11-30  7:53       ` Armen Baghumian

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=20091130104055.3c3274f5@Office \
    --to=armen@opensourceclub.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).