From 75a8eb965d02b8eecf7a9e07dd8bb366a9992e3f Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 14 Oct 2012 21:33:13 +0200 Subject: [PATCH] gitconfig: Use ## for section headers in [alias]. A single # is used for normal comments. --- gitconfig.m4 | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/gitconfig.m4 b/gitconfig.m4 index 5e08291..8502645 100644 --- a/gitconfig.m4 +++ b/gitconfig.m4 @@ -51,9 +51,9 @@ include(../lib.m4) tag = yes [alias] - # Shortcuts for often used commands. + ## Shortcuts for often used commands. # - # Local. + ## Local. c = commit --verbose ci = commit --verbose d = diff PATIENCE @@ -69,33 +69,34 @@ include(../lib.m4) a = add ap = add --patch au = add --update - # Branches. + ## Branches. co = checkout b = branch -a -v br = branch -a -v m = merge me = merge mo = merge origin/master - # Remote. + ## Remote. f = fetch fe = fetch t = tag p = push pu = push ru = remote update - # Patches. + ## Patches. fp = format-patch - # Maintenance. (Redirection of stderr is necessary to prevent missing - # output with my "color stderr" solution in Zsh.) + ## Maintenance. + # (Redirection of stderr is necessary to prevent missing output with + # my "color stderr" solution in Zsh.) fs = ! git fsck --strict --full 2>&1 fg = ! git fs && git gc --aggressive 2>&1 # fsck and compress repo - # Misc. + ## Misc. sl = stash list ss = stash save sa = stash apply ssk = stash save --keep-index - # Custom commands. + ## Custom commands. # # tig-like log view. glog = log --pretty=oneline --graph --all -- 2.44.1