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
]
Subject
: What's the difference between 'git rebase -i HEAD~1' and 'git reset --soft HEAD^'
From
: Yuri <yuri@xxxxxxxxx>
Date
: Tue, 14 Dec 2021 15:01:10 -0800
User-agent
: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0
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
Prev by Date:
Re: [PATCH 0/4] git-p4: fix RCS keyword processing encoding errors
Next by Date:
[PATCH v6 0/3] branch: inherit tracking configs
Previous by thread:
[PATCH 0/4] git-p4: fix RCS keyword processing encoding errors
Next by thread:
Fw: Curiosity
Index(es):
Date
Thread
[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]