Summary
Expand lazygit custom commands with common operations.
Changes
File: ~/.config/lazygit/config.yml
customCommands:
- key: 't'
command: 'git stash && git pull --rebase && git stash pop'
context: 'files'
description: 'Stash, pull, and pop'
- key: 'A'
command: 'git add -A && git commit --amend --no-edit'
context: 'files'
description: 'Amend all to last commit'
- key: 'P'
command: 'git push --force-with-lease'
context: 'localBranches'
description: 'Force push (with lease)'
Effort
Quick win (~10 mins)
References
Summary
Expand lazygit custom commands with common operations.
Changes
File:
~/.config/lazygit/config.ymlEffort
Quick win (~10 mins)
References