Deleting committed test folders / files on Google Code?

霸气de小男生 提交于 2020-01-01 17:18:46

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!