From 35ab977a4cf75cd959b49833c4bd4899e8f5f1ab Mon Sep 17 00:00:00 2001 From: nick Date: Fri, 9 Aug 2019 21:58:39 +0800 Subject: [PATCH] =?UTF-8?q?:pencil2:=20=E7=BE=8E=E5=8C=96=20git=20log=20?= =?UTF-8?q?=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git.md b/git.md index a235656..9e73c79 100644 --- a/git.md +++ b/git.md @@ -34,7 +34,7 @@ __快捷别名__ alias gs='git status' alias gm='git merge' alias gtag='git tag' -alias gl='git log' +alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- | less" alias gb='git branch' alias gpull='git pull' alias gpush='git push'