mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-03-11 15:00:07 +02:00
fixup! Add command to reset the commit author from the commits panel.
This commit is contained in:
parent
1e08b90f67
commit
fbe23b3754
@ -25,7 +25,7 @@ func (self *CommitCommands) RewordLastCommit(message string) error {
|
||||
|
||||
// ResetAuthor resets the author of the topmost commit
|
||||
func (self *CommitCommands) ResetAuthor() error {
|
||||
return self.cmd.New("git commit --allow-empty --no-edit --amend --reset-author").Run()
|
||||
return self.cmd.New("git commit --allow-empty --only --no-edit --amend --reset-author").Run()
|
||||
}
|
||||
|
||||
// ResetToCommit reset to commit
|
||||
|
Loading…
x
Reference in New Issue
Block a user