Created
November 16, 2026 16:50
-
-
Save ManeFunction/69b17e920891de43d34fb7401e828a1e to your computer and use it in GitHub Desktop.
lazygit config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git: | |
| log: | |
| showWholeGraph: false | |
| pagers: | |
| - colorArg: always | |
| pager: delta --paging=never --no-gitconfig --hyperlinks | |
| mainBranches: | |
| - master | |
| - main | |
| - develop | |
| allBranchesLogCmds: | |
| - git log --graph --all --color=always --oneline --date=relative --decorate | |
| gui: | |
| spinner: | |
| frames: | |
| - '| (∩•-•)⊃ ~011011' | |
| - '| (∩•o•)⊃ ~101010' | |
| - '| (∩•o•)⊃ ∽001000' | |
| - '| (∩•o•)⊃ ∽110101' | |
| rate: 100 | |
| nerdFontsVersion: 3 | |
| customCommands: | |
| - key: '<c-p>' | |
| description: "Smart Pull (Stash -> Pull -> Apply Stash)" | |
| context: 'global' | |
| loadingText: "Pulling..." | |
| command: "git stash push -m \"lazy-pre-pull-$(date +%s)\" &&\ngit pull && \nif [ -n \"$(git stash list | grep \"lazy-pre-pull\")\" ]; then\n git stash apply \"stash@{0}\" && \n git stash drop \"stash@{0}\"\nfi\n" | |
| - key: '<c-p>' | |
| description: "Push selected branch" | |
| context: 'localBranches' | |
| loadingText: "Pushing..." | |
| command: | | |
| git update-ref refs/heads/{{.SelectedLocalBranch.Name}} {{.SelectedLocalBranch.CommitHash}} && | |
| git push origin {{.SelectedLocalBranch.UpstreamBranch}} | |
| - key: '<c-y>' | |
| command: "git pull --rebase" | |
| context: "global" | |
| description: "Pull with rebase" | |
| loadingText: "Rebasing..." | |
| - key: 'U' | |
| command: "git submodule update --init --recursive" | |
| context: "global" | |
| description: "Update submodules" | |
| loadingText: "Updating Submodules..." | |
| - key: 'T' | |
| command: "git push origin --tags" | |
| context: "localBranches" | |
| description: "Push tags" | |
| loadingText: "Pushing tags..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment