From f96b40dbfa3f7da3aa861d7c2fe83a202bfb0750 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Mon, 21 Oct 2013 09:32:03 -0400 Subject: [PATCH] New git-hist without tags --- .aliases | 1 + .gitconfig | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.aliases b/.aliases index 25806e6..be92e31 100644 --- a/.aliases +++ b/.aliases @@ -24,6 +24,7 @@ alias gfl="git log --patch" alias gl="git log" alias gh="git hist" alias ghd="git hist-details" +alias ght="git hist-tags" alias gr="git reset" alias grc="git rm --cached" alias grh="git reset --hard" diff --git a/.gitconfig b/.gitconfig index 58983e9..dfc2625 100644 --- a/.gitconfig +++ b/.gitconfig @@ -7,8 +7,9 @@ [apply] whitespace = fix [alias] - hist = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative + hist = log --graph --pretty=format:'%Cred%h%Creset - %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative hist-details = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat + hist-tags = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative [color] ui = auto [color "branch"] @@ -24,7 +25,7 @@ added = yellow changed = green untracked = cyan -[core] +[core] excludesfile = ~/.gitignore_global autocrlf = input editor = vim