Cleaning commit history