there is also the git-new-workdir script that comes with git's contrib:

http://nuclearsquid.com/writings/git-new-workdir/

-igor

On Fri, Jun 29, 2012 at 9:00 PM, Jeremy Thomerson
<[email protected]> wrote:
> Like many of you I need to be able to change between 1.4.x, 1.5.x and
> master branches quite a bit in my work.  But with different maven
> sub-modules within each of those branches, etc, it can be quite messy on
> Eclipse to just use git checkout to switch between branches.  So, I have
> recently started working with a single git repo and several different
> working directories based on that repo.
>
> Doing it this way gives me the ability to have separate workspaces.  But
> they're all based on the same repo, so if I need to cherry pick a commit
> from one branch to the other I can commit it in one workspace and change
> directory to the other (branch's) workspace and cherry pick it.  I never
> mess up Eclipse by changing branches that way.
>
> Here's a little script that can get you set up the same way if you'd like
> to try it: http://pastebin.com/dmzuvvXY
>
> --
> Jeremy Thomerson
> http://wickettraining.com
> *Need a CMS for Wicket?  Use Brix! http://brixcms.org*

Reply via email to