Using grafts file to rewrite history
- From
Peter Krefting <peter@softwolves.pp.se>
- Date
- Feb 25, 2009, 05:29 UTC
- Message-ID
- <Pine.LNX.4.64.0902250626300.9572@ds9.cixit.se>
Hi!
My googling powers have yet eluded to find me an answer to this:
Given an (unpublished) Git repository and a "grafts" file that slightly re-orders commits, how do I reprocess this repository (using git-filter-branch, probably) to have a true history according to the "grafts" file?
I am trying to use git-import-tars to import non-linear development history, and then use a grafts file to find the "proper" history. I would like to re-order the history before i publish it in a public Git repository.
-- \\// Peter - http://www.softwolves.pp.se/