On Wed, Aug 11, 2010 at 1:12 AM, Daniel Dilts <[email protected]> wrote:
> I'm trying to use git to track a Visual Studio project.  Yes, that is the
> dark side, but at least there is a bit of light.  Anyway, the default
> .gitignore ignores include most generated files (*.pdb, etc.)  The problem I
> have is that I have one directory where I don't want it to ignore anything
> in the directory no matter what.  Does anybody have an idea how I could do
> that?


You can add exceptions (or additional ignore rules) in any
subdirectory by creating another .gitignore file there. In your case,
you need a .gitignore file in your directory with this rule:

    !*

That adds an exception for everything in the subdirectory, i.e.
nothing in that directory is ignored.


-- 
justin
http://justinhileman.com
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to