commiting changed files for the previous commit