Removing One File from a Git Commit
As often happens, I committed composer.lock
when I had not actually
intended to do so. Igor broke out the
following after I went through a whole lot of stupid things on my
own.
Thanks Igor. :)
git reset HEAD~1 filename && git commit --amend