DEV Community

Discussion on: Master Git in 7 minutes

Collapse
 
valeriavg profile image
Valeria

Sure thing! Firstly, you add the changes with git add, then change the last commit with git commit --amend.
If you pushed your commit to the remote repository to push this change you'll need to use git push --force.