Worktrees are INSANELY great. I've written a couple of shell functions
around my workflow. I create a wt subdir in a cloned repo and all the
worktrees get created in that subdir. Branch name = worktree subdir. Great
On Sat, Oct 8, 2016 at 9:20 AM, Paul Smith <p...@mad-scientist.net> wrote:
> On Fri, 2016-10-07 at 14:39 -0700, Michael wrote:
> > % git help worktree:
> > A git repository can support multiple working trees, allowing you to
> > check out more than one branch at a time. With git worktree add ...
> > I've never seen this command in any tutorial, explanation, anything.
> It was added in Git 2.5. Prior to Git 2.5 there was a contrib shell
> script "git new-workdir" which used symlinks and so never worked on
> Windows. "git worktree" internalizes that facility, removes its
> reliance on symlinks, and improves it's capabilities.
> Also, there were important additions to worktree until Git 2.7 or so
> (actually there are still useful things being added even now).
> However, if you can be sure your version of Git is new enough, worktrees
> are pretty awesome.
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Matthew O. Persico
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.