.gitconfig 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. dh = diff HEAD
  12. dc = diff --cached
  13. ci = commit
  14. co = checkout
  15. 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>\"
  16. ls = ls-files
  17. ign = ls-files -o -i --exclude-standard
  18. unstage = reset HEAD
  19. sinit = ! git submodule init && git submodule update && git submodule foreach 'git checkout master'
  20. spull = submodule foreach 'git pull'
  21. [color]
  22. ui = auto
  23. pager = false
  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. [merge]
  35. tool = vimdiff
  36. [pager]
  37. diff = true
  38. # git.debian.org specifics
  39. [url "git://anonscm.debian.org"]
  40. insteadOf = git://git.debian.org
  41. [url "ssh://git.debian.org/git"]
  42. pushinsteadof = git://git.debian.org