I am new to subversion. I created a repository and I want to make the first commit.
There are files and folders that should not be checked, for example cache/
or log/
. I used svn propset svn:ignore -F svn_ignore.txt
.
I want to have an easy way to add new files to svn. Is there a way to do this while respecting the svn: ignore setting? The following commands add every file, even ignored ones:
svn add --force . alias svn_add_all='svn st|grep ^?|sed s/?//|xargs svn add $1'
EDIT Here I get:
$ svn status ? web/images/test/film_super8.jpg ? web/images/test/ea_dl_manager.jpg ? web/images/test/minecraft_anaglyph.png $ svn propget svn:ignore cache/* log/* web/images/blog/* web/images/test/*
source share