📜  git log in command line pretty view - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:15.003000             🧑  作者: Mango

代码示例2
$ git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit

* 3396763 - (HEAD, origin/master, master) Add twitter link (4 days ago) 
* c73bbc9 - add facebook link (6 days ago) 
* cb555df - More random values (6 days ago) 
*   60e7bbf - Merge pull request #1 from TSchuermans/patch-1 (7 days ago) 
|\
| * 8044a8f - Typo fix (7 days ago) 
|/