git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* What's the difference between 'git rebase -i HEAD~1' and 'git reset --soft HEAD^'
@ 2021-12-14 23:01 Yuri
  0 siblings, 0 replies; only message in thread
From: Yuri @ 2021-12-14 23:01 UTC (permalink / raw)
  To: Git Mailing List

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-14 23:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-14 23:01 What's the difference between 'git rebase -i HEAD~1' and 'git reset --soft HEAD^' Yuri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).