开发者

Delete a file from a SVN repo managed by git svn

开发者 https://www.devze.com 2023-03-02 17:46 出处:网络
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:

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 ope开发者_高级运维n 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 ?


Ok, stoooopid me, the file that I deleted was used by 'svn.authorsfile' . I cleared the property and everything is fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消