Files
dotfiles/dot_config/lazygit/config.yml
T

15 lines
483 B
YAML

os:
editPreset: 'nvim'
customCommands:
- key: 'P'
context: 'remotes'
description: 'Push current branch to selected remote'
command: 'git push {{.SelectedRemote.Name | quote}} HEAD:{{.CheckedOutBranch.Name | quote}}'
output: terminal
- key: 'A'
context: 'remotes'
description: 'Push current branch to every remote'
command: 'git remote | while IFS= read -r remote; do git push "$remote" "HEAD:{{.CheckedOutBranch.Name}}"; done'
output: terminal