In this particular situation, I am using 1 commit = 1 file.
I know that using the --amend option to a commit will update the LAST commit, but how can I update the last commit message for a specific file ?
This of course does not work:
git commit -o somefile.js -m "new message" --amend
I need to be able to do this non-interactively so that it can be called in a single line command.
Is there a solution ?