… just came across a nice option of tar while reading the man pages on how to exlude hidden files from being tared. there is another option “–exclude-vcs”:
tar --exclude-vcs -cvf something.tar somethingtotar
good to know.
this at least works with subversion. did not try any other vcs. btw, my version of tar is:
tar --version tar (GNU tar) 1.26 Copyright (C) 2011 Free Software Foundation, Inc.