Clean up after deleting previous commit