]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
gitconfig: add ld alias to describe commits
authorSimon Ruderich <simon@ruderich.org>
Sat, 9 Dec 2017 13:58:41 +0000 (14:58 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 9 Dec 2017 13:58:41 +0000 (14:58 +0100)
Can be used to describe commits in commit messages with enough context
for the reader.

gitconfig.in

index 7e0bea8feee48c6b4982b0003868bdcb69dd1a69..9fd76ba7af18af483ad9134f5d91665e96c91999 100644 (file)
@@ -79,6 +79,7 @@
        ls  = log --stat
        lp  = log --patch
        lpw = log --patch --color-words
+       ld  = show --date=short -s --pretty='format:%h (\"%s\", %ad)' # describe
        a   = add
        ap  = add --patch
        au  = add --update