From df33d0117bb8411298c215826d25323ee5d8a770 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Tue, 21 Nov 2023 09:48:10 -0500 Subject: [PATCH] Add some shorthands to git --- configs/git/.gitconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/git/.gitconfig b/configs/git/.gitconfig index c341b18..236866e 100644 --- a/configs/git/.gitconfig +++ b/configs/git/.gitconfig @@ -25,7 +25,10 @@ lscommits = ! ( echo -e "Commits\tFile" && git log --pretty=format: --name-only | sed '/^$/d' | sort | uniq -c | sort -g -r ) | less lsc = lscommits diff-against = diff --merge-base - fix-recreated-branch = reset --hard @{u} + fix-recreated-branch = reset --hard @{u} + fa = fetch --all + c = commit + aa = add . [filter "lfs"] clean = git-lfs clean -- %f