从 git svn 管理的 SVN 存储库中删除文件
我有一个由 git-svn 管理的 SVN 存储库。我无法删除文件并将我的提交发送到 SVN 服务器。这就是我正在做的:
git rm myfile.txt git commit -m“删除了不必要的文件” git svn dcommit 抛出: 无法打开 myfile.txt 没有这样的文件或目录
我必须硬重置 HEAD 才能从 SVN 中提取。还有其他人遇到这个问题吗?你是怎么修好的?
I have an SVN repo managed by git-svn . I can't delete a file and send my commits to SVN server. Here is what I am doing:
git rm myfile.txt
git commit -m "removed not necessary file"
git svn dcommit
throws:
Can't open myfile.txt No such file or directory
I had to hard reset HEAD in order to be able to pull from SVN. Anyone else had this problem ? How did you fixed it ?
好吧,stoooopid 我,我删除的文件被 'svn.authorsfile' 使用。
我清理了财产,一切都很好。
Ok, stoooopid me, the file that I deleted was used by 'svn.authorsfile' .
I cleared the property and everything is fine.