From: Sverre Rabbelier Date: Thu, 18 Dec 2008 14:15:04 GMT Subject: Re: is it possible filter the revision history of a single file into another repository? Message-ID: In-Reply-To: <8ec76080812180551p8c97a0dqa2025e67792946c7@mail.gmail.com> On Thu, Dec 18, 2008 at 14:51, Whit Armstrong wrote: > For instance, if my repository contains foo.c, and 100 other files. > > I would like to create a new and separate repository containing only > the revision history of foo.c. > > Would someone mind pointing me at some documentation for this > procedure if it exists? I think "git filter-branch" is what you need. Have it filter out changes to files but foo.c, and then remove all empty commits. -- Cheers, Sverre Rabbelier