从 SVN 历史记录中删除文件内容 [英] Delete file contents from SVN history

查看:33
本文介绍了从 SVN 历史记录中删除文件内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 PC 上有一个本地 svn 存储库,我一直将它用于一个业余项目,但并不意味着任何人都可以访问它,所以我提交了其中包含密码的文件.

I have a local svn repository in my PC, I have been using it for a hobby project and it wasn't meant to be accessible to anyone, so I commited files with passwords in them.

现在,我正在考虑将存储库提供给其他人使用,但我不想将这些数据放在那里.

Now, I'm thinking of making the repository available for other people and I don't want to have that data there.

有没有办法抓取存储库并将所有密码和帐户数据替换为xxxxxxxxxx"之类的文本?

Is there a way to crawl the repository and replace all the passwords and account data with a text like "xxxxxxxxxx"?

推荐答案

检查 Subversion 常见问题解答:如何从存储库的历史记录中完全删除文件?

Check the Subversion FAQ: How do I completely remove a file from the repository's history?

这篇关于从 SVN 历史记录中删除文件内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆