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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux