commit 4561c4435502beac93e0394db2078a0dccd36123
parent 600691600bca0bea8c03afc3f48a543f0ed37bc9
Author: Alex Balgavy <alexander.balgavy@spaceapplications.com>
Date: Fri, 27 Mar 2026 18:54:37 +0100
git: config update
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/git/gitconfig b/git/gitconfig
@@ -9,15 +9,20 @@
wt = worktree
v = "!nvim -c 'Git | only'"
co = checkout
+ cof = "!git checkout $(git branch --sort=-committerdate | fzf --layout=reverse)"
cob = checkout -b
f = fetch --all
+ fo = fetch origin --prune
fapr = fetch --all --prune
+ fpr = fetch --prune
b = branch
br = branch --remote
ba = branch --all
bv = branch -vv
+ bgc = "!git branch -v | awk '$3 == \"[gone]\" { print $1 }' | xargs git branch -d"
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --branches --remotes --tags --oneline --author-date-order
+ lgl = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --branches --tags --oneline --author-date-order
lgv = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n''%w(130,10,10)%C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all --author-date-order
llg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --oneline --author-date-order
llgv = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n''%w(130,10,10)%C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all --author-date-order
@@ -112,7 +117,7 @@
conflictstyle = diff3
[mergetool "nvimdiff"]
- cmd = nvim -u NONE -d \"$LOCAL\" \"$MERGED\" \"$BASE\" \"$REMOTE\" -c \"wincmd w\" -c \"wincmd J\"
+ cmd = nvim -d \"$LOCAL\" \"$MERGED\" \"$BASE\" \"$REMOTE\" -c \"wincmd w\" -c \"wincmd J\"
[diff]
algorithm = histogram
[core]