The only version-control software I’ve really used extensively is Subversion. I like git’s feature set and performance though, so I’m choosing to use it for version control with my future projects.
I’m using the eGit plugin for Eclipse. My problem is that when I push upstream (which is reported successful), the source code at the origin isn’t updated. If I look at the version history, I can see the pushed commit.
If this was Subversion, I would do an ‘update’, and my changes would be synced at the origin. This is a little different obviously though as I’m no longer dealing with a single, centralized repository.
Is there something I’m doing wrong or not doing at all that I can do to update the source at the origin? If the answers could be geared towards using the eGit interface rather than the git command line utility, it would be especially helpful.
Thanks!
By “the source code at the origin” do you mean the working tree at the origin? You need to
git checkoutthe branch on the origin machine in order to update the working tree to the latest.