diff --git a/pkg/commands/git_commands/commit.go b/pkg/commands/git_commands/commit.go index 4cbc3033c..501e6b06b 100644 --- a/pkg/commands/git_commands/commit.go +++ b/pkg/commands/git_commands/commit.go @@ -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() }