Re: copy selected history between repostories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/18/08, luisgutz <luis@xxxxxxxx> wrote:
>  Is there any way to import that directory into repoA with all it's history,
>  but NOT the history from the other commits?
>  Another way of putting is this: can I make git forget the history of all
>  other commits but those from this directory?

Try cloning the repository, then running git-filter-branch with the
--subdirectory-filter option.  It works quite nicely.

Have fun,

Avery
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux