开发者

svn-keep receiving updates for a file without overriding the one in the remote repo

开发者 https://www.devze.com 2023-02-20 17:56 出处:网络
I was given instructions to not overwrite the settings file for the remote repo. I modified the file I checked out so obviously it would now appear with an \"M\" on the status.

I was given instructions to not overwrite the settings file for the remote repo. I modified the file I checked out so obviously it would now appear with an "M" on the status.

How will I be able to receive updates to the file without overwriting the remote file? (which means I must not apply my changes to my local copy)?

Sorry if I missed som开发者_开发技巧ething here, I just started out with SVN.


Svn is gonna control that for you. When somebody changes the source code you did and he/she commit it to the server, when you update you code svn will merge the file on the server with your file. If both files have changed at the same line, snv will show you that you have a conflict and you will be able to edit it to fix. Then when you decide you can commit your code, svn you do the same thing.

0

精彩评论

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