Add parent alias to git

This commit is contained in:
Cyryl Płotnicki 2020-06-15 14:24:37 +01:00
parent 7393fdb85f
commit 4669cf1978

View file

@ -11,6 +11,7 @@
pager = cat
[alias]
tree = log --show-signature --color --decorate --date=short --all --graph -n 3
parent = log --pretty=%P -n 1
newbranch = !git checkout master && git fetch -p && git reset --hard origin/master && git checkout -b "$2"
head = log HEAD -n1
signedcommit = !git commit -S