问题描述
有没有办法删除我提交给 Google 代码分支的测试文件夹和文件?
Is there a way to remove the test folders and files that I have committed to a Google Code branch?
推荐答案
您可以使用
svn delete your_file
删除文件,然后使用
svn commit
将删除推送到服务器——但请注意,不会从 SVN 历史记录中删除任何内容:SVN 的工作方式是跟踪所有内容,这意味着永久删除某些内容是允许".
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.
请参阅 Subversion 常见问题解答的此条目:如何从存储库的历史?
See this entry of the Subversion's FAQ, about that : How do I completely remove a file from the repository's history?
这篇关于删除 Google Code 上提交的测试文件夹/文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!