.gitconfig 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. [user]
  2. name = Emmanuel Bouthenot
  3. email = kolter@openics.org
  4. signingkey = 929D42C3
  5. [alias]
  6. br = branch
  7. st = status
  8. s = status --untracked-files=no
  9. sa = status --untracked-files=all
  10. d = diff
  11. gd = difftool
  12. dh = diff HEAD
  13. dc = diff --cached
  14. ci = commit
  15. co = checkout
  16. 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>\"
  17. ls = ls-files
  18. ign = ls-files -o -i --exclude-standard
  19. unstage = reset HEAD
  20. subdate = submodule update --init --recursive
  21. lasttag = describe --tags --abbrev=0
  22. [color]
  23. ui = auto
  24. [color "diff"]
  25. meta = green
  26. frag = yellow
  27. old = magenta
  28. new = cyan
  29. [color "status"]
  30. header = bold blue
  31. added = green
  32. changed = bold red
  33. untracked = white
  34. [diff]
  35. tool = vimdiff
  36. [merge]
  37. tool = vimdiff
  38. [pager]
  39. diff = true
  40. # git.debian.org specifics
  41. [url "git://anonscm.debian.org"]
  42. insteadOf = git://git.debian.org
  43. [url "ssh://anonscm.debian.org/git"]
  44. pushinsteadof = git://anonscm.debian.org