diff --git a/.config/lazygit/config.yml b/.config/lazygit/config.yml index ba203c1..dd08271 100644 --- a/.config/lazygit/config.yml +++ b/.config/lazygit/config.yml @@ -13,7 +13,12 @@ git: pagers: - colorArg: always pager: diff-so-fancy - useConfig: false overrideGpg: true update: method: never +customCommands: + - key: 'P' + command: "git push {{.SelectedRemote.Name}} {{.SelectedLocalCommit.Sha}}:{{.SelectedLocalBranch.Name}}" + context: "commits" + loadingText: "Pushing commit..." + description: "Push a specific commit (and any preceding)"