3 ms·
Force pushes are dangerous but turning them off completely prevents some valid use cases like pruning problematic IP or removing large binaries accidentally com
by jonico 13y ago
Force pushes are dangerous but turning them off completely prevents some valid use cases like pruning problematic IP or removing large binaries accidentally committed to a git repo. For those reasons, CollabNet ships with a Gerrit plugin that does not prevent history rewrites but records them in an immutable backup refs, sends emails and logs it properly. Recovery can be done on a self service basis and administrators can still delete those backup refs forever. The plugin also treats branch deletions like that.
More details can be found on http://luksza.org/2012/cool-git-stuff-from-collabnet-potsdam-team/ http://luksza.org/2012/cool-git-stuff-from-collabnet-potsdam...