From: Avery Pennarun Date: Fri, 18 Jul 2008 17:12:30 GMT Subject: Re: copy selected history between repostories Message-ID: <32541b130807181012o3b56c413g31667baca1732b01@mail.gmail.com> In-Reply-To: <18533605.post@talk.nabble.com> On 7/18/08, luisgutz 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