Git - Ignoring Any ".svn" Directories

This is so obvious, but could save you some time.

If you need to have git ignore all svn-related directories, just add this to the .gitignore file at the top of the git repository: ".svn". I was playing with pattern matching stuff and it took a bit to realize this is trivial.

No comments:

Post a Comment

Popular Posts