git 全局配置文件

  1 [user]
  2         name = xxxxxx
  3         email = [email protected]
  4 [color]
  5         ui = auto
  6 [color]
  7         diff = true
  8         status = true
  9         branch = true
 10 [color "diff"]
 11 [alias]
 12         rr = reset HEAD
 13         br = branch -av
 14         st = status
 15         co = checkout
 16         ca = commit --amend
 17         di = diff
 18         dc = diff --cached
 19         dh = diff HEAD
 20         cp = cherry-pick
 21         lg = log --pretty=format:'%h |%an |%ai |%s'
 22         lo = log --pretty=format:'%h |%an |%s' --since='4 days ago'
 23         oneline = log --pretty=oneline --since='2 days ago'
 24         onelog = log -p -1
 25 [push]
 26         default = matching


~                               

猜你喜欢

转载自blog.csdn.net/wljian1/article/details/79974910