Simplifying git lg

This commit is contained in:
Julien Palard 2019-06-08 15:42:42 +02:00
parent 459f94f776
commit 4158349a46
1 changed files with 1 additions and 1 deletions

View File

@ -10,5 +10,5 @@
co = checkout
br = branch
ci = commit
lg = log --date-order --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lg = log --graph --pretty=format:'%C(auto)%h%d %s %C(blue)%ci %C(green)%an%Creset'
pr = !sh -c \"git fetch upstream pull/${1}/head:pr_${1} && git worktree add ../$(basename $(git rev-parse --show-toplevel))-pr-${1} pr_${1}\"