~cyplo/dotfiles

7ccfd3cb0c80aac7467d956272bd072f651cd45d — Cyryl Płotnicki 2 years ago ac731de
Add newbranch alias to git
1 files changed, 2 insertions(+), 1 deletions(-)

M .gitconfig_includes.common
M .gitconfig_includes.common => .gitconfig_includes.common +2 -1
@@ 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