git alias

This commit is contained in:
Roman Volovoy
2026-06-05 19:30:55 +02:00
parent dbb47e6933
commit 5969d29704
2 changed files with 12 additions and 0 deletions

4
git/.gitconfig Normal file
View File

@@ -0,0 +1,4 @@
[alias]
lg1 = 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(auto)%d%C(reset)' --all
lg2 = 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(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
lg = lg1