From: Ulrich Windl Date: Fri, 31 Dec 2021 17:23:12 GMT Subject: Re: [EXT] Re: Filtering commits after filtering the tree Message-ID: <9ba1551b-375c-fe71-3402-8a54dbeec085@rz.uni-regensburg.de> In-Reply-To: On 12/30/21 2:19 PM, Son Luong Ngoc wrote: > Hi Ulrich, > > On Thu, Dec 30, 2021 at 12:28 PM Ulrich Windl > wrote: >> >> Hi guys! >> >> >> As I know there are really smart ones around, please don't laugh how I helped myself with this problem: >> https://stackoverflow.com/q/70505903/6607497 >> I'm sure you wouldn't have wasted hours with rebasing interactively... >> >> >> Feel free to comment either on the list or at SO (comment or improved answer). > > You probably want to try git-filter-repo (1) > while using `--message-callback` as documented in (2) Interestingly in SLES12 SP5 there is a message recommending git-filter-repo, but when I had tried "man git-filter-repo" there was no manual page. So I did not follow that path... > >> >> >> Regards, >> Urich >> >> > > Hope it helps, > Son Luong. > > (1) https://github.com/newren/git-filter-repo > (2) https://htmlpreview.github.io/?https://github.com/newren/git-filter-repo/blob/docs/html/git-filter-repo.html#CALLBACKS >