Sometimes after I did a commit, I found out that I left out a file which should also be included in the commit, but was actually not. I often committed again:
git add the_left_out_file
git commit "include the file which should be added in the last commit"
I think it might not be a good idea to do so. I want to just include the file without adding a commit. Something like this,
git add the_left_out_file
git add_staged_files_to_previous_commit
Is it possible?