added update-sub alias to gitconfig

This commit is contained in:
hellerve
2015-06-16 13:17:27 +02:00
parent 23636108a1
commit 8a15abd025

View File

@@ -9,6 +9,8 @@
lg = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold cyan)- %an%C(reset)%C(bold yellow)%d%C(reset)'
lgc = log ORIG_HEAD.. --stat --no-merges
lgp = log --pretty=format:'%Cred%h%Creset -- %cn, %cr\t%Cgreen%s%Creset'
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
mnc = merge --no-commit
oneline = log --oneline --decorate
repourl = config --get remote.origin.url
@@ -17,8 +19,7 @@
tags = for-each-ref --sort='*authordate' --format='%(tag)' refs/tags
undo = reset --soft HEAD^
unpushed = cherry -v
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
update-sub = submodule foreach git pull
wdiff = diff --color-words
whatrelease = name-rev --name-only
who = shortlog -s --