git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git include

From
Armen Baghumian <armen@opensourceclub.org>
Date
Nov 30, 2009, 07:10 UTC
Message-ID
<20091130104055.3c3274f5@Office>
In-Reply-To
<fcaeb9bf0911292245t6b18c238s2859d2cbd5dd26be@mail.gmail.com>
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:

Show 12 quoted lines
> 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--
Previous: Nguyen Thai Ngoc DuyNext: Nguyen Thai Ngoc Duy
Message 3 of 6 in “git include”
  1. Rakotomandimby MihaminaNov 30, 2009
  2. Nguyen Thai Ngoc DuyNov 30, 2009
  3. Armen BaghumianNov 30, 2009
  4. Nguyen Thai Ngoc DuyNov 30, 2009
  5. Rakotomandimby MihaminaNov 30, 2009
  6. Armen BaghumianNov 30, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.