Add parent alias to git
This commit is contained in:
parent
7393fdb85f
commit
4669cf1978
1 changed files with 22 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue