eclipse SVN 更新到 head 与与存储库同步有什么区别?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8893976/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the difference between SVN update to head vs synchronize with repository?
提问by M Sach
When I right click on my project in eclipse I see two options synchronize with repository and update to head. I am not getting what is the difference among them?
当我在 Eclipse 中右键单击我的项目时,我看到两个选项与存储库同步并更新到头。我不明白它们之间有什么区别?
回答by Paker
The difference is following:
区别如下:
Update to HEADwill do svn update
.
更新到 HEAD就可以了svn update
。
In other words it will update your working copy to the last revision from the repository.
换句话说,它会将您的工作副本更新为存储库中的最新版本。
Synchronize with Repositoryis something similar to svn status -u
, but even more.
与存储库同步与类似svn status -u
,但更多。
It will open a Synchronize tab (or perspective) that displays overview of your local (outgoing) modifications versus repository (incoming) modifications.
它将打开一个同步选项卡(或透视图),显示本地(传出)修改与存储库(传入)修改的概览。
In this tab or perspective, you can review and synchronize (commit / update) individual files, see differences between your working copy files and incoming files from repository, browse commits history, resolve conflicts.
在此选项卡或透视图中,您可以查看和同步(提交/更新)单个文件,查看您的工作副本文件与来自存储库的传入文件之间的差异,浏览提交历史记录,解决冲突。
In general, I highly recommend you to check out the SVN Handbook. At least first two chapters.
一般来说,我强烈建议您查看SVN 手册。至少前两章。