Marco, Interesting! I guess you are right, eclipse caches the workspace. You have several options: In the eclipse preferences "General --> Workspace" you can enable a open "refresh automatically" in addition to Preferences : "General --> Startup and Shutdown" and enable the option "Refesh workspace on startup".
>From the git perspective you can choose <your git clone>/Branches/Local/<your branch> and chose the action "Synchronize with Workspace" And last but not least refresh your workspace whenever you have the feeling that its out of synch and choose File -> Refresh / choose bundles and press F5. Thats my workflow because I'm working a lot with the command line tools. But I guess its a general problem if you use different tools outside of eclipse to keep the workspace in synch (e.g. a simple editor to edit maven pom.xml files). Cheers, Frank 2012/7/5 Marco Foi <foima...@gmail.com>: > Hi guys! > Here a silly question for you. > > I have my GIT working directory, containing my eu.udig.tools plug-in, let's > say in c:\code\ > This plugin is available in my workspace that is, let's say, in c:\ws\ > > I supposed that if I closed Eclipse, and then issued > "git branch tests" followed by "git checkout tests" > and the I restarted Eclipse, I would be working on the "test" branch so that > if I did some edits, > then closed Eclipse and issued a > "git branch master" > and then restarted Eclipse, I would have NOT found the edits performed in > the "test" branch. > > Well.. ...it seems that this is not true.. ..and my "master" gets poisoned > with my test code. > > The question is: should my workflow succeed BUT Eclipse retains a kind of > cache of it previous run which is "cast" over the "master" branch > ..or am I missing some very basic golden rule? > > How can I use the wonders of GIT (branching, testing, deleting) with > Eclipse? > > Marco > > _______________________________________________ > User-friendly Desktop Internet GIS (uDig) > http://udig.refractions.net > http://lists.refractions.net/mailman/listinfo/udig-devel > _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel