From e7af80f105a93fc976c7dd356751fd6b8b651aa2 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Sun, 25 Jul 2021 23:44:58 +0200 Subject: [PATCH] config/git: add file history finder --- .config/git/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/git/config b/.config/git/config index 16f7a68..bbf36e8 100644 --- a/.config/git/config +++ b/.config/git/config @@ -87,7 +87,6 @@ svv = --paginate status -vv sf = !git status --porcelain --no-renames -z | sed -z 's/^\\(\\w\\) / \\1/' | git fzs | git commit -v --pathspec-from-file=- - r = remote -v b = branch -vv ba = b -a @@ -100,6 +99,7 @@ find = log --patch --all --full-history ref = reflog show --pretty=tformat:'%C(auto)%h%d %s %Cgreen(%cd) %Cblue<%an>%Creset' + hf = log --patch --follow --find-renames=1 -- rev = rev-parse --short head = rev-parse --short HEAD