문제

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?

도움이 되었습니까?

해결책

Right click on the project and select

Team->update

.

다른 팁

I believe it is Team > Upgrade

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top