append to last commit code example
Example 1: add change to last commit
$ (some_branch) git commit --amend
Example 2: append to a commit
git add the_left_out_file
git commit --amend --no-edit
$ (some_branch) git commit --amend
git add the_left_out_file
git commit --amend --no-edit