问题
Is there a way to remove the test folders and files that I have committed to a Google Code branch?
回答1:
You can use
svn delete your_file
to delete the file, and, then, use
svn commit
to push the deletion to the server -- but note that will not delete anything from the SVN history : the way SVN works is to keep a trace of everything, which means permanently deleting something is not "allowed".
If you want to completly remove a file from the repository's history, it's a lot harder, and will require you to be admin of the repository -- which you are not, on google code.
See this entry of the Subversion's FAQ, about that : How do I completely remove a file from the repository's history?
回答2:
You should just be able to do:
svn delete blah
svn commit
provided everything is set up.
来源:https://stackoverflow.com/questions/2189597/deleting-committed-test-folders-files-on-google-code