What's the difference between 'git rebase -i HEAD~1' and 'git reset --soft HEAD^'

From: Yuri <hidden>
Date: 2021-12-14 23:14:30

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help