A.T.Field

git配置文件

Word count: 114Reading time: 1 min
2018/11/04
loading

我的git配置文件,主要包括三部分:

命令简写
写日志的图形界面编辑器
配置beyond compare 3做diff和merge

[alias]
    co = checkout
    ci = commit
    st = status
    br = branch
    his = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
    type = cat-file -t
    dump = cat-file -p
    ls = ls-files
    bcd = difftool --dir-diff --tool=bc --no-prompt
[core]
    autocrlf = false
    safecrlf = true
    quotepath = false
    whitespace = trailing-space
    pager = head
[push]
    default = simple
[diff]
    tool = bc
[difftool "bc"]
    path = /usr/local/bin/bcomp
[merge]
    tool = bc
[mergetool "bc"]
    path = /usr/local/bin/bcomp
[pull]
    rebase = true
CATALOG