diff --git a/home-profiles/git-jens/.config/git/config b/home-profiles/git-jens/.config/git/config index 998cda9fee02a8ff4f0c60e650e7fa3dc9bdd5b4..002e9b6e5d20438fcec51e605512c656c1fcb139 100644 --- a/home-profiles/git-jens/.config/git/config +++ b/home-profiles/git-jens/.config/git/config @@ -1,13 +1,19 @@ [user] - email = git@queezle.net - name = Jens Nolte + email = git@queezle.net + name = Jens Nolte + +[init] + defaultBranch = main + +[commit] + verbose = true [alias] - graph = log --graph --decorate --all --format=format:'%C(yellow)%h%C(reset) %C(red)%aN%C(reset) %C(dim cyan)(%ar)%C(reset)%C(dim magenta)%d%C(reset)%n%C(white)%s%C(reset)' + graph = log --graph --decorate --all --format=format:'%C(yellow)%h%C(reset) %C(red)%aN%C(reset) %C(dim cyan)(%ar)%C(reset)%C(dim magenta)%d%C(reset)%n%C(white)%s%C(reset)' - g = !git graph + g = !git graph - changes = "!f() { \ - { git --no-pager log --max-count=1 --shortstat --color=always ${1:-HEAD};\ - echo; git --no-pager diff --color=always "${1:-HEAD}^" "${1:-HEAD}"; } \ - | $PAGER -r; }; f" + changes = "!f() { \ + { git --no-pager log --max-count=1 --shortstat --color=always ${1:-HEAD};\ + echo; git --no-pager diff --color=always "${1:-HEAD}^" "${1:-HEAD}"; } \ + | $PAGER -r; }; f"