Remove file from Subversion after svn add, but before svn commit
May 6, 2009
If you do not want to add a certain file to your subversion repository, but it is already marked to be committed (by an already issued svn add command) you can just type:
svn revert file.ext
to undo the add command.
If you remember to do it before the corresponding svn commit, doing this helps keeping the repository to a decent size. If you already commited the changes, you can remove it using svn delete (and an extra –force argument, if needed), but the space is wasted.
3 Comments
leave one →

It was really nice. Helpful. Can I link this article to my Blog ?
Sure you can, just mention (and link ) the source blog.
Thanks!