[user] name = rydesun email = rydesun@gmail.com signingkey = rydesun@gmail.com [log] date = iso [alias] lga = log --graph --decorate --all --abbrev=5 \ --pretty=format:'%C(auto)%h %C(blue)%ad%C(auto)%d %s' \ --date=format:'%y/%m/%d' llga = log --graph --decorate --all --abbrev=5 \ --pretty=format:'%C(auto)%h %C(blue)%ad%C(auto)%d %s %C(dim white)(%an)%n%b' \ --date=format:'%y/%m/%d %H:%M%z' lg = lga -5 llg = llga -5 gl = lg st = status --short sts = show --name-status c = commit b = branch p = push co = checkout rb = rebase ls = ls-files d = diff --relative ds = diff --staged --relative s = show [pull] rebase = true [credential] helper = cache [url "https://github.com"] insteadOf = git://github.com [core] ; Unicode文件名 quotepath = off ; https://github.com/samjwill/nvim-unception#working-with-git editor = nvim --cmd 'let g:unception_block_while_host_edits=1' ; {{{ delta配置(需要安装delta https://github.com/dandavison/delta) [core] pager = delta [interactive] diffFilter = delta --color-only [delta] ; nN按键导航到其他文件 navigate = true ; hunk header去掉导航label hunk-label = ; 文件名高亮 file-style = bold black blue ; 去掉文件名的下划线 file-decoration-style = none ; hunk header高亮行号 hunk-header-line-number-style = bold black blue ; hunk header高亮文件名(如果设置) hunk-header-file-style = bold black blue ; hunk header去掉box边框 hunk-header-decoration-style = none ; commit增加下划线 commit-decoration-style = ul ; }}} # vim: foldmethod=marker:foldlevel=0