.gitconfig 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. sinit = ! git submodule init && git submodule update && git submodule foreach 'git checkout master'
  21. spull = submodule foreach 'git pull'
  22. [color]
  23. ui = auto
  24. pager = false
  25. [color "diff"]
  26. meta = green
  27. frag = yellow
  28. old = magenta
  29. new = cyan
  30. [color "status"]
  31. header = bold blue
  32. added = green
  33. changed = bold red
  34. untracked = white
  35. [diff]
  36. tool = vimdiff
  37. [merge]
  38. tool = vimdiff
  39. [pager]
  40. diff = true
  41. # git.debian.org specifics
  42. [url "git://anonscm.debian.org"]
  43. insteadOf = git://git.debian.org
  44. [url "ssh://git.debian.org/git"]
  45. pushinsteadof = git://git.debian.org