git change commit code example
Example 1: add changes to last commit
git add the_left_out_file
git commit --amend --no-edit
Example 2: git amend
git commit --amend
git add the_left_out_file
git commit --amend --no-edit
git commit --amend