소스 검색

add history-graph option

Sam Jaffe 3 년 전
부모
커밋
7908b45ee8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      profile-git

+ 1 - 0
profile-git

@@ -29,3 +29,4 @@ git-create() {
 alias git-graph="git log --graph --pretty=oneline --abbrev-commit --decorate --all"
 alias git-cleanup='git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d'
 
+alias git-history-graph="git log --graph --pretty='format:%C(auto)%h (%<(50,trunc)%s, %ad)%d' --abbrev-commit --decorate --all"