add a custom lazygit command, so I can push specific commits

This commit is contained in:
2025-12-18 17:50:09 +01:00
parent a538fc75fd
commit a5fbf7dea0

View File

@@ -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)"