summaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index ab4c609..9d5d3f1 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -11,4 +11,9 @@
[alias]
grp = !git --no-pager grep --color=auto
tree = log --oneline --decorate --graph
+ branch-info = "!sh -c 'git branch --no-color | \
+ sed -e \"s/*/ /\" | \
+ while read branch; do \
+ git log -1 --format=format:\"%Cred$branch:%Cblue %s %Cgreen%h%Creset (%ar)\" $branch | cat; echo; \
+ done'"