pajko
Joined 9 years ago
Karma
596
Submissions
454
Member since
Aug 24
Joined 9 years ago
git reset HEAD^1 (NO --hard!)
git commit --patch ...
git rebase --continue
You want to add some pending changes to the previous commit? No problem: git commit --patch --amend ...
You want to move the pending changes to future commits? git stash
git rebase --continue
git stash pop