.gitconfig 873 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. [alias]
  2. br = branch
  3. st = status
  4. s = status --untracked-files=no
  5. sa = status --untracked-files=all
  6. d = diff
  7. dh = diff HEAD
  8. dc = diff --cached
  9. ci = commit
  10. co = checkout
  11. l = ! export LESS=-R GIT_PAGER=less && git log --graph --decorate --pretty=format:\"%h %C(magenta)%ci%Creset%C(yellow)%d %Creset%s %C(cyan)%cn <%cE>\"
  12. ls = ls-files
  13. ign = ls-files -o -i --exclude-standard
  14. unstage = reset HEAD
  15. sinit = ! git submodule init && git submodule update && git submodule foreach 'git checkout master'
  16. spull = submodule foreach 'git pull'
  17. [color]
  18. ui = auto
  19. pager = false
  20. [color "diff"]
  21. meta = green
  22. frag = yellow
  23. old = magenta
  24. new = cyan
  25. [color "status"]
  26. header = bold blue
  27. added = green
  28. changed = bold red
  29. untracked = white
  30. [merge]
  31. tool = vimdiff
  32. [pager]
  33. diff = true