SVN提交而不更新 [英] SVN Commit without update

查看:351
本文介绍了SVN提交而不更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的同事已经签入了一些我知道不对的文件.我希望能够替换它们并将我的本地旧副本提交回仓库.但是,SVN不允许我在不运行更新的情况下提交这些文件.

My coworker has checked in a few files that I know are wrong. I would like to be able to replace them and commit my local older copies back to the repo. However, SVN doesn't allow me to commit these files without me running update.

我担心这可能会导致自动合并并弄乱我的本地好"副本.我

I am worried that this may cause automatic merge and messe up my local "good" copies. I

无论如何,我是否可以提交我的版本而不进行更新? 困难.有什么选择?

Is there anyway that I can commit my versions without updating? Non-automatic merge is highly discouraged. What is the alternative?

推荐答案

将修改后的文件复制到一边,进行更新,再将修改后的文件复制回,然后提交.

Copy your modified files off to the side, update, copy your modified files back, commit.

这篇关于SVN提交而不更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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