trying for quite some hours now to set it up nicely the solution described in that link below doesn't work for windows users, that just makes a copy.
for windows users this script must be used: http://git.661346.n2.nabble.com/Fwd-git-git-new-workdir-for-Windows-9-td6479570.html (run it as an admin else the symbolic links won't be created) That seems to work, the only problem i currently facing is that when i do a synchronize in eclipse all files are marked as changed (which of course none of them are) Even a hard reset on the branch will not fix that. So still not really a workable nice solution for this problem :( johan On Wed, Jan 4, 2012 at 16:43, Emond Papegaaij <emond.papega...@topicus.nl>wrote: > With git, switching between branches is very fast, but as you said, with > Eclipse it's not. You can have a look at this: > http://finik.net/2010/10/24/multiple-working-folders-with-single-git- > repository/<http://finik.net/2010/10/24/multiple-working-folders-with-single-git-%0Arepository/> > > Another solution is to use git remotes to link the clones using (local) > remotes. You can add a remote using 'git remote add <name> <path>', after > which you can push/fetch changes between your workspaces directly. > > Personally, I use this last approach, but that's mainly because I do not > yet > feel comfortable enough to play with git internals :) > > Emond > > On Wednesday 04 January 2012 16:25:32 Johan Compagner wrote: > > Currently i just have 3 workspaces for wicket (1.4,1,5 and trunk/master) > > > > But git works with a/one working directory... > > > > thats always one of those.. > > > > So is the only solution to have the remote git repo dumped three times on > > my disk? > > I don't find that very logical.. > > > > And no i don't want to constantly switch, i could do that with wicket if > > really needed, but i find that annoying because i also look for our self > > (and eclipse projects also now move) > > and there i have really all kind of changes in 1 when i want to go to the > > other... > > > > And clicking between eclipse instances is way faster (i always have 3 or > > more eclipse instances open on various workspaces) > > > > johan >