git config
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
| [user] email = name = [core] editor = 'D:\\Program Files\\SublimeText\\subl.exe' -w longpaths = true quotepath = false excludesfile = "D:\\Documents\\My Document\\BackUp\\.gitignore" [alias] st = status sh = show pl = pull pu = push ft = fetch ss = stash cm = commit br = branch cl = clone co = checkout df = diff dfl = diff --stat dft = difftool dfr = diff origin master dfrl = diff origin master --stat mg = merge mgt = mergetool lg = log --color --graph --pretty=format:'%C(magenta)%h%Creset -%C(yellow)%d%Creset %s %C(green)(%cr) %C(cyan)<%an>%Creset' --abbrev-commit last = log -1 [commit] template = D:\\Documents\\My Document\\BackUp\\.gitmessage.txt [color] ui = true [diff] tool = bc4 [difftool "bc4"] cmd = \"D:/Program Files/Beyond Compare 4/BComp.exe\" \"$LOCAL\" \"$REMOTE\" trustExitCode = true [merge] tool = bc4 conflictstyle = diff3 [mergetool "bc4"] cmd = \"D:/Program Files/Beyond Compare 4/BComp.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\" trustExitCode = true [credential] helper = wincred [difftool] prompt = false
|
bold
dim
ul
blink
reverse
支持的颜色
normal
black
red
green
yellow
blue
magenta
cyan
white