What's the difference between 'git rebase -i HEAD~1' and 'git reset --soft HEAD^'
- From
- Yuri <yuri@rawbw.com>
- Date
- Dec 14, 2021, 23:01 UTC
- Message-ID
- <e584d004-334c-f9ed-39cb-77cba02cae1a@rawbw.com>
They both seem to perform the same function: undo the last commit and put all changes back as uncommitted.
But is there any difference between them?
Thanks,
Yuri