mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-11 11:42:12 +02:00
fixup! Add command to reset the commit author from the commits panel.
This commit is contained in:
parent
7c573a5bea
commit
7ac487545c
@ -23,7 +23,7 @@ func (self *CommitCommands) RewordLastCommit(message string) error {
|
||||
return self.cmd.New("git commit --allow-empty --amend --only -m " + self.cmd.Quote(message)).Run()
|
||||
}
|
||||
|
||||
// Reset the author of the topmost commit.
|
||||
// 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()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user