On Sun, Nov 19, 2017 at 08:15:53PM -0800, Zvi Vered wrote:
> I'm using the following command to create subtree:
> git subtree add --prefix=DRV1 https://github.com/zviered/DRV1.git master
> The repo https://github.com/zviered/DRV1.git contains few folders.
> I want my subtree to contain only one specified folder.
> Is it possible ?
Yes, but not in the way you tried it.
You first need to use the `git subtree split` command to prepare a
synthetic history conststing of commits which modified only the code
under that specific directly in DRV1.
Then you will be able to `git subtree add` that line of history.
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.