# .gitignore not

2 messages from 2012-05-01 to 2012-05-01. Participants: John M. Dlugosz, Junio C Hamano.
Thread: https://gitlist.dev/t/30377

## John M. Dlugosz, 2012-05-01 01:58

Subject: .gitignore not
Message-ID: <29965-1335837520-563867@sneakemail.com>
URL: https://gitlist.dev/e/29965-1335837520-563867%40sneakemail.com

```
I'm running on Windows, using msysgit.  I have some files that were supposed to be 
symbolic links, but don't come out that way.  I see them as plain files containing a 
relative name of another file.  To make things work, I copied the actual file over the 
would-be link.  I don't want to check in that change.

I set up a .gitignore, and it works for the directory in general, but three files that 
were symbolic links it keeps finding anyway: deleted symlink (for those that were 
directories) and binary files don't match (for a file).  Even though those are under the 
directory I excluded with the .gitignore, it reports those anyway.

How do I tell my local copy of git to really ignore those?  I don't want to stage it by 
accident.

—John

```

## Junio C Hamano, 2012-05-01 04:28

Subject: Re: .gitignore not
Message-ID: <7vd36ocyot.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vd36ocyot.fsf%40alter.siamese.dyndns.org
In-Reply-To: <29965-1335837520-563867@sneakemail.com>

```
"John M. Dlugosz" <ngnr63q02@sneakemail.com> writes:

> I'm running on Windows, using msysgit.  I have some files that were
> supposed to be symbolic links, but don't come out that way.  I see
> them as plain files containing a relative name of another file.  To
> make things work, I copied the actual file over the would-be link.  I
> don't want to check in that change.
>
> I set up a .gitignore, and it works for the directory in general, but
> three files that were symbolic links it keeps finding anyway: deleted
> symlink (for those that were directories) and binary files don't match
> (for a file).  Even though those are under the directory I excluded
> with the .gitignore, it reports those anyway.
>
> How do I tell my local copy of git to really ignore those?  I don't
> want to stage it by accident.

Perhaps --assume-unchanged?

```
