summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-04-14 12:07:05 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-04-14 12:18:14 -0400
commit9ba350041c5120cecef1c7b80b88d67d42690015 (patch)
tree06ddd0ff1be016d72b2bd8e340790db8af20291f
parenta81ce01980e988e7c1a1b85930cc110531eb6416 (diff)
git aliases
-rw-r--r--.config/git/config3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/git/config b/.config/git/config
index 4fe81a5..6e5abf2 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -6,4 +6,5 @@
[push]
default = matching
[alias]
- lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
+ lg = log --graph --format='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
+ hist = log --format='%h %ci -%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset' --abbrev-commit