Skip to content

Commit 3061d88

Browse files
committed
Change to better git hist alias
1 parent 758c88c commit 3061d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
branches = branch -a
55
remotes = remote -v
66
# Pretty log output
7-
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
7+
hist = log --graph --pretty=format:'%Cred%h%Creset %s%C(yellow)%d%Creset %Cgreen(%cr)%Creset [%an]' --abbrev-commit --date=relative
88

99
[color]
1010
# Use colors in Git commands that are capable of colored output when outputting to the terminal

0 commit comments

Comments
 (0)