From 65122c9d2eba2f81ce70d7726c4f8a446f189d21 Mon Sep 17 00:00:00 2001 From: Jan Jastrow Date: Sun, 11 Aug 2024 20:36:10 +0200 Subject: [PATCH] some additional git aliases --- gitconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gitconfig b/gitconfig index f1fa63e..7cf54e0 100644 --- a/gitconfig +++ b/gitconfig @@ -11,7 +11,7 @@ [alias] a = add br = branch - c = commit + c = commit -m ca = c -a co = checkout conflict = diff --name-only --diff-filter=U @@ -19,7 +19,8 @@ hash = !git rev-parse HEAD | cut -c 1-8 l = log --all --color --graph --pretty=format:'%Cred%h%Creset %G?%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit # Colorful and easy to read log last = log -1 HEAD --stat - p = pull + pl = pull + pu = push rv = remote -v se = !git rev-list --all | xargs git grep -F st = status -sb