Subversion, git, and ignoring files

Posted in Uncategorized on May 3rd, 2008 by varikin

So I have been an SVN user for about 3 years and loved it. I had used CVS before that for a couple years. I never had an issue with it, but all the hype was SVN, so I tried it and liked it. But, there was one thing that always bothered me. How to ignore files. I don’t want to see all my .o files and everything under my build directory when I run svn status. Well to do that you need to specifiy the svn:ignore property on each directory using the propset command and the propget command. It seemed tedious, and painful. I longed for the ignore file from CVS.

Today, I was looking at Git and lo and behold, it has a .gitignore file that I can add files, folders and typeglobs too. It is recursive too! No more setting some property that I have to lookup every time I add a new directory. Today I am switching to git!

Tags: ,