16.03.2020, 02:13, "Damien Robert" <damien.olivier.robert@xxxxxxxxx>: > From James Ramsay, Thu 12 Mar 2020 at 14:57:24 (+1100) : >> 6. Elijah: replace refs helps, but not supported by hosts like GitHub etc >> a. Stolee: breaks commit graph because of generation numbers. >> b. Replace refs for blobs, then special packfile, there were edge cases. > > I am interested in more details on how to handle this using replace. > > My situation: coworkers push big files by mistake, I don't want to rewrite > history because they are not too well versed with git, but I want to keep > *my* repo clean. Wouldn't it be better to prevent *them* from such mistakes, e.g. by using pre-push review system like Gerrit? -- Regards, Konstantin