git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* .gitignore not
@ 2012-05-01  1:58 John M. Dlugosz
  2012-05-01  4:28 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: John M. Dlugosz @ 2012-05-01  1:58 UTC (permalink / raw)
  To: git

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

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

* Re: .gitignore not
  2012-05-01  1:58 .gitignore not John M. Dlugosz
@ 2012-05-01  4:28 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2012-05-01  4:28 UTC (permalink / raw)
  To: John M. Dlugosz; +Cc: git

"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?

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

end of thread, other threads:[~2012-05-01  4:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-01  1:58 .gitignore not John M. Dlugosz
2012-05-01  4:28 ` Junio C Hamano

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).