Add newbranch alias to git

This commit is contained in:
Cyryl Płotnicki 2019-01-18 11:58:59 +00:00
parent 5f68a0e3aa
commit 0018d08a75

View file

@ -10,7 +10,8 @@
[core]
pager = cat
[alias]
tree = log --show-signature --color --decorate --date=short --all --graph -n 8
tree = log --show-signature --color --decorate --date=short --all --graph -n 3
newbranch = !git checkout master && git fetch -p && git reset --hard origin/master && git checkout -b "$2"
head = log HEAD -n1
[core]
autocrlf = false