10 Common Git Problems and How to Fix Them - DEV Community - 0 views
-
Please keep in mind that --amend actually will create a new commit which replaces the previous one, so don’t use it for modifying commits which already have been pushed to a central repository.
-
git rebase --interactive
-
Just pick the commit(s) you want to update, change pick to reword (or r for short), and you will be taken to a new view where you can edit the message.
- ...8 more annotations...