add changes to last commit
git add the_left_out_file git commit --amend --no-edit
Here is what the above code is Doing:
1. git add the_left_out_file
2. git commit –amend –no-edit
The first line adds the file to the staging area.
The second line commits the file to the repository.
The –amend flag tells git to amend the previous commit.
The –no-edit flag tells git to use the previous commit message.