From 4f01f5e155a9adc23c5f35b6bec57dc8c3a9d726 Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Wed, 22 Feb 2023 10:43:51 -0800 Subject: [PATCH] Add git git fixer alias This will help me re-type git commands innumerably less over time. --- src/.gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/.gitconfig b/src/.gitconfig index 1711993..96b8582 100644 --- a/src/.gitconfig +++ b/src/.gitconfig @@ -18,6 +18,7 @@ fixup = commit --amend --no-edit fixup-a = commit -a --amend --no-edit full-diff = !git --no-pager diff + git = "!f() { git "$@"; }; f" # ignore the duplicated "git" ll = log --pretty=format:"%C(yellow)%h%C(red)%d%C(reset)\\ %s\\ %C(blue)%C(bold)[%aN]%C(reset)" --decorate --numstat lo = log --oneline --decorate ls = log --pretty=format:"%C(yellow)%h%C(red)%d%C(reset)\\ %s\\ %C(blue)%C(bold)[%aN]%C(reset)" --decorate