Rebase Ostatnie zatwierdzenie
$ git reset --soft HEAD~1
Inexpensive Ibex
$ git reset --soft HEAD~1
# THIS TURNS YOUR WHOLE COMMIT HISTORY INTO ONE SINGLE COMMIT!
# BE CAREFUL!
git rebase --root -i
# In your editor, for each commit except the top, change `pick` to `squash`