All of lore.kernel.org
 help / color / mirror / Atom feed
* git include
@ 2009-11-30  6:41 Rakotomandimby Mihamina
  2009-11-30  6:45 ` Nguyen Thai Ngoc Duy
  0 siblings, 1 reply; 6+ messages in thread
From: Rakotomandimby Mihamina @ 2009-11-30  6:41 UTC (permalink / raw)
  To: git

Hi all,

I would like to track only *.ml files and ignore all others.
Is there a way to do that in .gitignore?

Thanks.

-- 
       Architecte Informatique chez Blueline/Gulfsat:
    Administration Systeme, Recherche & Developpement
                                    +261 33 11 207 36

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: git include
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Nguyen Thai Ngoc Duy @ 2009-11-30  6:45 UTC (permalink / raw)
  To: Rakotomandimby Mihamina; +Cc: git

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--
-- 
Duy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: git include
  2009-11-30  6:45 ` Nguyen Thai Ngoc Duy
@ 2009-11-30  7:10   ` Armen Baghumian
  2009-11-30  7:29     ` Nguyen Thai Ngoc Duy
  0 siblings, 1 reply; 6+ messages in thread
From: Armen Baghumian @ 2009-11-30  7:10 UTC (permalink / raw)
  To: git

[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: git include
  2009-11-30  7:10   ` Armen Baghumian
@ 2009-11-30  7:29     ` Nguyen Thai Ngoc Duy
  2009-11-30  7:33       ` Rakotomandimby Mihamina
  2009-11-30  7:53       ` Armen Baghumian
  0 siblings, 2 replies; 6+ messages in thread
From: Nguyen Thai Ngoc Duy @ 2009-11-30  7:29 UTC (permalink / raw)
  To: Armen Baghumian; +Cc: git

On Mon, Nov 30, 2009 at 2:10 PM, Armen Baghumian
<armen@opensourceclub.org> wrote:
>
> Probably you want to add .gitignore too
>
> *
> !*.ml
> !.gitignore

In that case it should be "!.git*" as you may miss .gitattributes or .gitmodules
-- 
Duy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: git include
  2009-11-30  7:29     ` Nguyen Thai Ngoc Duy
@ 2009-11-30  7:33       ` Rakotomandimby Mihamina
  2009-11-30  7:53       ` Armen Baghumian
  1 sibling, 0 replies; 6+ messages in thread
From: Rakotomandimby Mihamina @ 2009-11-30  7:33 UTC (permalink / raw)
  To: git

11/30/2009 10:29 AM, Nguyen Thai Ngoc Duy::
>> Probably you want to add .gitignore too
>> *
>> !*.ml
>> !.gitignore
> In that case it should be "!.git*" as you may miss .gitattributes or .gitmodules

*
!*.ml

Is perfect for me.

Thanks, guys.

-- 
       Architecte Informatique chez Blueline/Gulfsat:
    Administration Systeme, Recherche & Developpement
                                    +261 33 11 207 36

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: git include
  2009-11-30  7:29     ` Nguyen Thai Ngoc Duy
  2009-11-30  7:33       ` Rakotomandimby Mihamina
@ 2009-11-30  7:53       ` Armen Baghumian
  1 sibling, 0 replies; 6+ messages in thread
From: Armen Baghumian @ 2009-11-30  7:53 UTC (permalink / raw)
  To: Nguyen Thai Ngoc Duy; +Cc: git

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

Yups, right

On Mon, 30 Nov 2009 14:29:46 +0700
Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote:

> On Mon, Nov 30, 2009 at 2:10 PM, Armen Baghumian
> <armen@opensourceclub.org> wrote:
> >
> > Probably you want to add .gitignore too
> >
> > *
> > !*.ml
> > !.gitignore
> 
> In that case it should be "!.git*" as you may miss .gitattributes
> or .gitmodules

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-11-30  7:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2009-11-30  7:29     ` Nguyen Thai Ngoc Duy
2009-11-30  7:33       ` Rakotomandimby Mihamina
2009-11-30  7:53       ` Armen Baghumian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.