1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-09 09:22:48 +03:00

Add command to reset the commit author from the commits panel.

This commit is contained in:
Jens Pfeifle
2022-04-22 16:01:30 +02:00
committed by Jesse Duffield
parent 8247089e53
commit 7c573a5bea
5 changed files with 53 additions and 0 deletions

View File

@@ -242,6 +242,7 @@ type KeybindingCommitsConfig struct {
MoveDownCommit string `yaml:"moveDownCommit"`
MoveUpCommit string `yaml:"moveUpCommit"`
AmendToCommit string `yaml:"amendToCommit"`
ResetCommitAuthor string `yaml:"resetCommitAuthor"`
PickCommit string `yaml:"pickCommit"`
RevertCommit string `yaml:"revertCommit"`
CherryPickCopy string `yaml:"cherryPickCopy"`
@@ -513,6 +514,7 @@ func GetDefaultConfig() *UserConfig {
MoveDownCommit: "<c-j>",
MoveUpCommit: "<c-k>",
AmendToCommit: "A",
ResetCommitAuthor: "a",
PickCommit: "p",
RevertCommit: "t",
CherryPickCopy: "c",