From 2dc82427cdeaa3c70f27b193a158892cff5704f7 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 11 Aug 2012 04:36:30 +0200 Subject: [PATCH] gitconfig: Group aliases. --- gitconfig.m4 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/gitconfig.m4 b/gitconfig.m4 index 9748a00..a4e728f 100644 --- a/gitconfig.m4 +++ b/gitconfig.m4 @@ -38,6 +38,8 @@ include(../lib.m4) [alias] # Shortcuts for often used commands. + # + # Local. c = commit --verbose ci = commit --verbose d = diff --patience @@ -48,27 +50,35 @@ include(../lib.m4) l = log ls = log --stat lp = log --patch --patience - glog = log --pretty=oneline --graph --all a = add ap = add --patch au = add --update + # Branches. co = checkout b = branch --all --verbose br = branch --all --verbose m = merge me = merge + # Remote. f = fetch fe = fetch t = tag p = push pu = push ru = remote update + # Patches. + fp = format-patch + # Misc. fs = fsck --strict --full ss = stash save ssk = stash save --keep-index sa = stash apply sl = stash list - fp = format-patch + + # Custom commands. + # + # tig-like log view. + glog = log --pretty=oneline --graph --all [diff] # Detect copies and renames. -- 2.45.2