.gitconfig 855 B

12345678910111213141516171819202122232425262728293031323334353637
  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. [color "diff"]
  20. meta = green
  21. frag = yellow
  22. old = magenta
  23. new = cyan
  24. [color "status"]
  25. header = bold blue
  26. added = green
  27. changed = bold red
  28. untracked = white
  29. [merge]
  30. tool = vimdiff
  31. [pager]
  32. diff = true