Hi Michael,

You are right about the historical perspective.

However the `Worktrees` is a new feature.

So yes, you can now have the different branches checked out in differemt trees, and other goodies.

Philip

----- Original Message ----- From: "Michael" <keybou...@gmail.com>
To: <git-users@googlegroups.com>
Sent: Monday, January 16, 2017 5:45 PM
Subject: [git-users] "Medium" git: Worktrees, submodules, subtrees


(I hope this isn't considered "advanced" git.)

So I just recently found out about worktrees, that let you have two different working trees from the same repository. (NB: Originally, I thought I had learned that git only supported one work tree per repository, but had a special "hardlink" to let two repositories share disk space on the same drive -- did I misunderstand something?).

Now, there's submodules, and subtrees. I'd like a bit of an explanation here.

A submodule is at least at first simple enough: you have a subproject with it's own history. But that's about all I understand about it.

I can't tell if there's any way to convert a sub directory of a project into a submodule, or visa-versa, or if it is a "lifetime" choice.

And the man page on submodules talks about a "subtree merge strategy", and I'm not sure I've even heard that before.

So: Help? Please? Confused?

---
Entertaining minecraft videos
http://YouTube.com/keybounce

--
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.

--
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.

Reply via email to