]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
gitconfig: Group aliases.
authorSimon Ruderich <simon@ruderich.org>
Sat, 11 Aug 2012 02:36:30 +0000 (04:36 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 11 Aug 2012 02:36:30 +0000 (04:36 +0200)
gitconfig.m4

index 9748a00482db9d1831527aa625854b6384898178..a4e728fdfee18c7d68d7471787a8bed6a6a0a502 100644 (file)
@@ -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.