To remove this commit and modify the file, use 'git reset --soft HEAD~1' and commit and add the file again.