From 25771018a89db2f9eddb6387dedb3e85bc5e378a Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Mon, 9 May 2022 16:05:04 +0200 Subject: [PATCH] git: Alias `changes` to log `HEAD...FETCH_HEAD` I would have liked to call the alias `whatchanged` but am not able to as git brings a command named liked that (for backwards compatibility) and alias cannot override builtins. --- .config/git/config | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/git/config b/.config/git/config index f2a9092..66999f5 100644 --- a/.config/git/config +++ b/.config/git/config @@ -8,6 +8,7 @@ autosquash = autofixup branches = track + changes = flog HEAD...FETCH_HEAD checkout-worktree = "!\"${XDG_CONFIG_HOME:-$HOME/.config}/zsh/autoload/git/git-checkout-worktree\"" filter-repo = "!\"${XDG_CONFIG_HOME:-$HOME/.config}/git/git-filter-repo/git-filter-repo\"" fixes = log -1 --pretty=fixes