Update gitconfig history command

It seems newer get has a conflicting command. Use `lg` (short for `log`
or `log --graph`) instead.
This commit is contained in:
2026-06-02 14:42:01 -05:00
parent 3aed5181c1
commit 9aeef4f447
+1 -1
View File
@@ -20,7 +20,7 @@
last = log -1 HEAD
cl = clone
cleanup = "!git branch --merged | rg -v \"(\\*|master|main|dev|develop)\" | xargs -r git branch -d"
history = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ignore = update-index --assume-unchanged --skip-worktree
unignore = update-index --no-assume-unchanged --no-skip-worktree
ls-ignores = "!git ls-files -v | rg "^h" | cut -f2 -d' '"