Records changes due to previous commits.