Forráskód Böngészése

add history-graph option

Sam Jaffe 3 éve
szülő
commit
7908b45ee8
1 módosított fájl, 1 hozzáadás és 0 törlés
  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"