Add parent alias to git
This commit is contained in:
parent
7393fdb85f
commit
4669cf1978
1 changed files with 22 additions and 21 deletions
|
@ -1,35 +1,36 @@
|
||||||
[user]
|
[user]
|
||||||
name = Cyryl Płotnicki
|
name = Cyryl Płotnicki
|
||||||
email = cyplo@cyplo.net
|
email = cyplo@cyplo.net
|
||||||
[color]
|
[color]
|
||||||
ui = true
|
ui = true
|
||||||
[help]
|
[help]
|
||||||
autocorrect = 1
|
autocorrect = 1
|
||||||
[push]
|
[push]
|
||||||
default = simple
|
default = simple
|
||||||
[core]
|
[core]
|
||||||
pager = cat
|
pager = cat
|
||||||
[alias]
|
[alias]
|
||||||
tree = log --show-signature --color --decorate --date=short --all --graph -n 3
|
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"
|
parent = log --pretty=%P -n 1
|
||||||
head = log HEAD -n1
|
newbranch = !git checkout master && git fetch -p && git reset --hard origin/master && git checkout -b "$2"
|
||||||
signedcommit = !git commit -S
|
head = log HEAD -n1
|
||||||
|
signedcommit = !git commit -S
|
||||||
[core]
|
[core]
|
||||||
autocrlf = false
|
autocrlf = false
|
||||||
[diff]
|
[diff]
|
||||||
tool = vimdiff
|
tool = vimdiff
|
||||||
[difftool]
|
[difftool]
|
||||||
prompt = false
|
prompt = false
|
||||||
[difftool "vimdiff"]
|
[difftool "vimdiff"]
|
||||||
cmd = vim -f '+next' '+execute \"DirDiff\" argv(0) argv(1)' $LOCAL $REMOTE '+syntax off'
|
cmd = vim -f '+next' '+execute \"DirDiff\" argv(0) argv(1)' $LOCAL $REMOTE '+syntax off'
|
||||||
[merge]
|
[merge]
|
||||||
tool = kdiff3
|
tool = kdiff3
|
||||||
[mergetool]
|
[mergetool]
|
||||||
keepBackup = false
|
keepBackup = false
|
||||||
[pager]
|
[pager]
|
||||||
diff = diff-so-fancy | less --tabs=1,5 -RFX
|
diff = diff-so-fancy | less --tabs=1,5 -RFX
|
||||||
show = diff-so-fancy | less --tabs=1,5 -RFX
|
show = diff-so-fancy | less --tabs=1,5 -RFX
|
||||||
[filter "lfs"]
|
[filter "lfs"]
|
||||||
clean = git-lfs clean -- %f
|
clean = git-lfs clean -- %f
|
||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
required = true
|
required = true
|
||||||
|
|
Loading…
Reference in a new issue