git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Beginner problem with .gitignore
@ 2009-04-20 17:57 Kai Schlamp
  2009-04-21  8:51 ` Michael J Gruber
  0 siblings, 1 reply; 5+ messages in thread
From: Kai Schlamp @ 2009-04-20 17:57 UTC (permalink / raw)
  To: git

Hello.

I have a file called TitleAreaDialog.java in the folder
my_path\org.eclipse.jface\src\org\eclipse\jface\dialogs

.git and .gitignore is in the my_path\ folder (using Git Cygwin on Windows).

Now I everything is ignored from org.eclipse.jface, but not that 
TitleAreaDialog.java

So I specified the following in .gitignore:
/org.eclipse.*
!TitleAreaDialog.java

I also tried it with:
!Title*, 
!/org.eclipse.jface/src/org/eclipse/jface/dialogs/TitleAreaDialog.java

but the TitleAreaDialog is always ignored as well.

What do I have to do to not ignore this file specifically?

Best regards,
Kai

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

end of thread, other threads:[~2009-04-21 12:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-20 17:57 Beginner problem with .gitignore Kai Schlamp
2009-04-21  8:51 ` Michael J Gruber
2009-04-21  9:57   ` Kai Schlamp
2009-04-21 11:43     ` Michael J Gruber
2009-04-21 12:26       ` Kai Schlamp

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