Last updated 6 years ago
If not all the changes should go into the commit, we can do a Mixed reset to the previous commit and redo the commit with only the wanted changes.
Mixed
Commandl line:
git reset HEAD~ # add only the wanted file # or use interactive add to add some portions of the file git add awesome_changes.txt git commit