So, you forgot something on your last commit.
What to do? Commit again that small change and pollute your git history?
Of course not!
You know the drill:
git reset HEAD~1
git add -A
git commit -m "[last-commit-message]" / or just [last-git-commit-command-from-history]
git push -f
Automate the above :-)
So, you forgot something on your last commit.
What to do? Commit again that small change and pollute your git history?
Of course not!
You know the drill:
git reset HEAD~1git add -Agit commit -m "[last-commit-message]"/ or just [last-git-commit-command-from-history]git push -fAutomate the above :-)