最近のgitconfig


最近のWindows環境でのgitconfig

WindowsでのファイルですがLinuxでもほとんど同じ

~/.gitconfig
[user]
  name = taka
  email = ....@.....
[color]
  status = auto
  diff = auto
  branch = auto
  interactive = auto
[alias]
  a = add
  b = branch -v
  ba = branch -av
  br = branch -rv
  bl = blame
  co = checkout
  ci = commit -v
  dw = diff --color-words
  d = diff
  dc = diff --cached
  st = status
  up = pull --rebase
  pr = pull --rebase
  rp = remote prune
  l = log
  ls = log --stat
  lp = log -p
  graph = log --graph --date=short --pretty=format:'%Cblue%h %cd %Cgreen%cn%creset%s'

[diff "xlsx"]
    binary = true
    textconv = ~/.bin/git-xlsx-textconv.pl
[push]
    default = upstream
[core]
    quotepath = false

参考サイト