git add file to last commit

C++
git add the_left_out_file
git commit --amend --no-edit
$ (some_branch) git commit --amend
Source

Also in C++: