---
title: "Show git log history in beautiful format"
author: "standalone"
date: "2013-07-26T15:44:21Z"
tags: []
categories: ["开源软件"]
slug: "show-git-log-history-in-beautiful-format"
draft: false
lastmod: "2013-07-26T15:44:21Z"
id: 1914034
url: "https://standalone.iteye.com/blog/1914034"
---

git 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