зеркало из https://github.com/github/msysgit.git
Pimp my .gitconfig
This commit is contained in:
Родитель
2753bca976
Коммит
9bccadc086
|
@ -1,3 +1,16 @@
|
|||
[alias]
|
||||
c = commit
|
||||
co = checkout
|
||||
dt = difftool
|
||||
mt = mergetool
|
||||
praise = blame
|
||||
ff = merge --ff-only
|
||||
st = status
|
||||
sync = !git pull && git push
|
||||
|
||||
[apply]
|
||||
whitespace = nowarn
|
||||
|
||||
[core]
|
||||
symlinks = false
|
||||
autocrlf = true
|
||||
|
@ -28,29 +41,31 @@
|
|||
[rebase]
|
||||
autosquash = true
|
||||
|
||||
[rerere]
|
||||
enabled = true
|
||||
|
||||
[credential]
|
||||
helper = !github --credentials
|
||||
|
||||
[filter "ghcleansmudge"]
|
||||
clean = cat
|
||||
smudge = cat
|
||||
|
||||
[push]
|
||||
default = upstream
|
||||
|
||||
[alias]
|
||||
dt = difftool
|
||||
mt = mergetool
|
||||
|
||||
[diff]
|
||||
tool = vs11
|
||||
tool = vs12
|
||||
algorithm = histogram
|
||||
|
||||
[difftool]
|
||||
prompt = false
|
||||
[difftool "bc4"]
|
||||
cmd = \"c:/program files (x86)/beyond compare 3/bcomp.exe\" \"$LOCAL\" \"$REMOTE\"
|
||||
[difftool "p4"]
|
||||
cmd = \"c:/program files/Perforce/p4merge.exe\" \"$LOCAL\" \"$REMOTE\"
|
||||
[difftool "vs11"]
|
||||
cmd = \"c:/program files (x86)/microsoft visual studio 11.0/common7/ide/devenv.exe\" '//diff' \"$LOCAL\" \"$REMOTE\"
|
||||
[difftool "vs12"]
|
||||
cmd = \"c:/program files (x86)/microsoft visual studio 12.0/common7/ide/devenv.exe\" '//diff' \"$LOCAL\" \"$REMOTE\"
|
||||
|
||||
[merge]
|
||||
tool = bc3
|
||||
|
@ -66,4 +81,4 @@
|
|||
|
||||
[remote "origin"]
|
||||
fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
|
||||
fetch = +refs/heads/*:refs/remotes/origin/*
|
||||
fetch = +refs/heads/*:refs/remotes/origin/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче