SyntaxFix
Write A Post
Hire A Developer
Questions
if you have already pushed your commit then. do
git checkout origin/<remote-branch> <filename> git commit --amend
AND If you have not pushed the changes on the server you can use
git reset --soft HEAD~1