Re: [git-users] Re: Gitignore strage behaviour of !

2018-02-21 Thread Sahib Bin Mahboob
Hi Buga,

Thanks for your reply. The command you mentioned is something I already
tried.

Interestingly I can not reproduce the problem again. I will raise my
concern again if I can successfully create the problem consistently.

Thanks.

On Sun, Feb 18, 2018 at 4:38 PM Igor Djordjevic 
wrote:

> Hi Sahib,
>
>
> On Sunday, February 18, 2018 at 1:18:55 AM UTC+1, Sahib Bin Mahboob wrote:
>>
>>
>> I was playing with this following gitignore for fun:
>>
>> */**
>>
>> *!/app*
>> *!/app/a*
>>
>>
>> And later tried with this command "git check-ignore app/a -v" with the
>> output:
>>
>> .gitignore:7:!/app/a app/a
>>
>>
>> As per as I understood from Gitignore doc
>>  "*!/app/a*" should indicate to
>> include "app/a" more precisely but instead git is ignoring it.
>>
>>
>> Any idea what I am missing here?
>>
>
> Are you saying (for example) `git status -uall` doesn`t show "app/a" for
> you anymore, or you`re just confused by its output (or one from `git
> check-ignore -v app/a`)? Mentioning your Git version might be good as
> well.
>
> I`ve tested your case with version 2.16.1.windows.1, and it seems to work
> as expected (and described by the docs).
>
> Regards, Buga
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Git for human beings" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/git-users/wP9ua4aCQRY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] Re: Gitignore strage behaviour of !

2018-02-18 Thread Igor Djordjevic
Hi Sahib,

On Sunday, February 18, 2018 at 1:18:55 AM UTC+1, Sahib Bin Mahboob wrote:
>
>
> I was playing with this following gitignore for fun:
>
> */**
>
> *!/app*
> *!/app/a*
>
>  
> And later tried with this command "git check-ignore app/a -v" with the 
> output:
>
> .gitignore:7:!/app/a app/a
>
>
> As per as I understood from Gitignore doc 
>  "*!/app/a*" should indicate to 
> include "app/a" more precisely but instead git is ignoring it.
>
>
> Any idea what I am missing here?
>

Are you saying (for example) `git status -uall` doesn`t show "app/a" for 
you anymore, or you`re just confused by its output (or one from `git 
check-ignore -v app/a`)? Mentioning your Git version might be good as well.

I`ve tested your case with version 2.16.1.windows.1, and it seems to work 
as expected (and described by the docs).

Regards, Buga

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] Re: Gitignore add file or folder from terminal

2015-12-03 Thread Renán Romero Ruiz
Hello there!

You can found it here into "git extras"
https://github.com/tj/git-extras/blob/master/Commands.md#git-ignore

For you purpose
git ignore ".ext"

You can install "*git-extras*" for this and more commands
https://github.com/tj/git-extras
...there are more commands extras 

It's easy to apply, excuse my english. Regards from Peru!


On Thursday, December 3, 2015 at 1:37:06 AM UTC-5, vik...@tryjiffy.com 
wrote:
>
> Hi,
>
> Since everything we are doing from the terminal, then there should be a 
> command to add the file in the gitignore through the terminal. 
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] Re: gitignore problem

2015-04-17 Thread Thomas Ferris Nicolaisen
On Tuesday, March 24, 2015 at 8:20:01 AM UTC+1, Philipp Kraus wrote:
>
> but Git reports that the files will be ignored, so there seems to be an 
> error in my configuration. Can anybody help me to create a working 
> gitignore configuration and can explain me my mistake?
>

Perhaps git-check-ignore could help? 
http://git-scm.com/docs/git-check-ignore 

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] Re: .gitignore question

2013-11-14 Thread wtriker . ffe

Thanks for the reply. Unfortunately it is not that simple. There are other 
directories named 'cache' that are not in 'system' that need to be tracked.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[git-users] Re: GitIgnore Not including folders again

2013-10-20 Thread Rik Svendsen Rose
i should add i am useing msysgit 1.8.4

and the:
*
!.gitingnore

to add empty folders does not appear to be working either.

I have however tested with:
*.bak
!*.bak
and this includes the .bak again :-/



-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [git-users] Re: Gitignore

2011-12-02 Thread Flávio Alencar
Thank you Thomas!


*


Atenciosamente,

Flávio Alencar **
*



2011/12/2 Thomas Ferris Nicolaisen 

> Hi,
>
> 1. You can configure .gitignore whenever you like. If you commit files,
> and later ignore them, they will be treated as normal checked-in files,
> until you delete them (from then on the ignore will take effect).
>
> 2. There's a good starting point in the Visual Studio - GitExtensions
> plugin (there's a "ignore usual VS.net output files option" in there
> somewhere): http://code.google.com/p/gitextensions/ - if you don't want
> to install that there is a similar list here:
>
>
> http://stackoverflow.com/questions/2143956/gitignore-for-visual-studio-projects-and-solution
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/git-users/-/E8cw2QK0F3EJ.
> To post to this group, send email to git-users@googlegroups.com.
> To unsubscribe from this group, send email to
> git-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/git-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Re: Gitignore

2011-12-02 Thread Thomas Ferris Nicolaisen
Hi,

1. You can configure .gitignore whenever you like. If you commit files, and 
later ignore them, they will be treated as normal checked-in files, until 
you delete them (from then on the ignore will take effect).

2. There's a good starting point in the Visual Studio - GitExtensions 
plugin (there's a "ignore usual VS.net output files option" in there 
somewhere): http://code.google.com/p/gitextensions/ - if you don't want to 
install that there is a similar list here: 

http://stackoverflow.com/questions/2143956/gitignore-for-visual-studio-projects-and-solution

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/E8cw2QK0F3EJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Re: .gitignore produces (seemingly) random results

2008-09-18 Thread Markus Prinz


On 18.09.2008, at 17:03, jack7890 wrote:

>
> Sorry for spamming the whole group with this question, but I've run
> into a git problem that is driving me absolutely insane.
>
> I'm using a git repository for a symfony project I'm developing.  I'd
> like to use .gitignore to have git ignore cache, config, log files,
> etc.  But I find that using a .gitignore in the repository directory
> produces EXTREMELY erratic results.  Git fails to ignore most file I
> include in .gitignore, but it does ignore some, and I can't find a
> pattern in the files it ignores and fails to ignore.

If you've already added a file to Git, Git will track it even if it  
would be matched by a pattern in .gitignore.

Could you maybe post an example of a directory/file structure with the  
according patterns from .gitignore and tell us exactly what your  
expected and actual results are?

regards, Markus


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en
-~--~~~~--~~--~--~---