On Wed, Apr 13, 2011 at 1:19 PM, Dan <dnwi...@gmail.com> wrote:
> The problem I'm having is the .gitignore file.  I can't be uploading
> Subversion's .svn directories to git; I need them to be ignored by
> git.  But nothing I'm trying seems to be working.  My latest attempt
> at .gitignore looks like this:
> .svn/
> */.svn/
> */*/.svn/
> */*/*/.svn/
> */*/*/*/.svn/
> .svn/*
> */.svn/*
> */*/.svn/*
> */*/*/.svn/*
> */*/*/*/.svn/*
> (Perhaps you sense my desperation.) But git doesn't seem to be
> ignoring anything other than the .gitignore file.

Just a single line in your root .gitignore file as follows should work:


I'm not sure how trailing slashes are treated. Make sure it's just the basename.


You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to github@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to