git设定例

写道
[http]
proxy = http://xxx.xxx.xxx.xxx:8080
sslverify = false
[user]
name = myname
email = [email protected]
[log]
abbrevCommit = true
decorate = short
[core]
autocrlf = false
[alias]
ci = commit
co = checkout
st = status -sb
ac = !git add -A && git commit
br = branch
fe = fetch
mg = merge
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
rs = remote show origin
rp = remote prune origin

[diff]
tool = p4merge
[difftool "p4merge"]
cmd = "/d/Myfiles/apps/Perforce/p4merge.exe" \"$LOCAL\" \"$REMOTE\"
[difftool]
prompt = false

[merge]
tool = p4merge
[mergetool "p4merge"]
cmd = "/d/Myfiles/apps/Perforce/p4merge.exe" \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"
[mergetool]
keepBackup = false
trustExitcode = false

 

你可能感兴趣的:(其它,git)