From: Kai Schlamp <schlamp@gmx.de>
To: git@vger.kernel.org
Subject: Beginner problem with .gitignore
Date: Mon, 20 Apr 2009 19:57:11 +0200 [thread overview]
Message-ID: <gsid27$p1$1@ger.gmane.org> (raw)
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
next reply other threads:[~2009-04-20 17:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-20 17:57 Kai Schlamp [this message]
2009-04-21 8:51 ` Beginner problem with .gitignore 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='gsid27$p1$1@ger.gmane.org' \
--to=schlamp@gmx.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).