From b9b2d652f72ed1a7584a06dfcb8004f71844f61b Mon Sep 17 00:00:00 2001 From: KK Date: Thu, 18 Jun 2026 10:59:40 +0200 Subject: [PATCH] Modify the gitconfig --- .bashrc | 2 ++ .config/git/config | 13 ++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index efff895..07c3df2 100644 --- a/.bashrc +++ b/.bashrc @@ -114,3 +114,5 @@ if ! shopt -oq posix; then . /etc/bash_completion fi fi + +export PATH="$PATH:/home/kk/.local/share/pi-node/node-v22.22.3-linux-x64/bin" diff --git a/.config/git/config b/.config/git/config index fc328a3..6cfae2b 100644 --- a/.config/git/config +++ b/.config/git/config @@ -3,6 +3,11 @@ email = git.exclaim518@passmail.net [core] editor = kak + excludesFile = ~/.config/git/ignore +[commit] + verbose = true +[push] + autoSetupRemote = true [diff] colorMoved = default algorithm = histogram @@ -10,9 +15,15 @@ conflictStyle = zdiff3 [color] ui = auto +[branch] + sort = -committerdate +[tag] + sort = version:refname [alias] st = status co = checkout br = branch ci = commit - lg = log --oneline --graph --decorate --all + lg = log --graph --pretty=format:'%C(auto)%h%Creset %Cgreen%cr%Creset %C(bold blue)%an%Creset %s%C(auto)%d%Creset' --all + branches = for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:relative) %(refname:short)' +