Subclipse- update working copy

自古美人都是妖i 提交于 2020-01-04 06:40:25

问题


I work on my school projects on two machines- my laptop and desktop. Recently I've started using subclipse for version control, and have it plugged in Eclipse on both machines.

While working on a single machine, I understand the checkout/commit process and synchronizing in the Team Synchronizing tab.

So, how do I update the working copy of the other machine in subclipse without having to checkout and overwrite the entire project on the local machine?


回答1:


Right click on the project and select

Team->update

.




回答2:


I believe it is Team > Upgrade




回答3:


As far as I understand, Subversion and CVS require you to have a server that hosts the repository. Then from any remote machine you checkout from and commit to this central repository. Wherever you host the main repository (you'll probably do it on your desktop?), you should checkout a copy on both your laptop and the desktop. Then you have: Working copy on your laptop, working copy on your desktop, and central repository on, e.g., your desktop.

This should solve your synchronization issues.

However: For your problem at hand, I strongly recommend looking into Git, another nice version control system that does not require a centralized host: All checkouts are treated equally, so you make changes on your laptop and push them to the desktop, or you make changes on your desktop and push them to the laptop, or you pull changes from the laptop to the desktop and vice versa.



来源:https://stackoverflow.com/questions/4205774/subclipse-update-working-copy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!