mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-13 05:15:53 +02:00
Modified reference to HEAD in one case, others appear to exist for ranges but I am not familiar enough with these.
This commit is contained in:
parent
694b192b74
commit
16e3d5f092
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ func gitPush() (string, error) {
|
|||
}
|
||||
|
||||
func gitSquashPreviousTwoCommits(message string) (string, error) {
|
||||
return runDirectCommand("git reset --soft head^ && git commit --amend -m \"" + message + "\"")
|
||||
return runDirectCommand("git reset --soft HEAD^ && git commit --amend -m \"" + message + "\"")
|
||||
}
|
||||
|
||||
func gitRenameCommit(message string) (string, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue