On wo, 2016-01-20 at 01:45 -0800, Martin Mucha wrote:
> I'd like to have two heads & working directories, but I do not want
> to have two .git data (with all history) duplicated in both of them.
> Motivation: I checkout some head, and I executed some superb
> compilation with "long-lasting effect". And I cannot checkout
> different head until it's done, but I would still like to work on
> something else. So I have different working directory of this git
> repo, I can work on another branch there.
> Is something like this possible?
With recent git versions it is possible:
git worktree add /path/to/new/workdir branchname
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.