Remove commits on old branches.