gitconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. [user]
  2. name = Fabian Peter Hammerle
  3. email = fabian@hammerle.me
  4. signingkey = 8D2902FE7DF47DDEDA2802F9456B9A0399A5DA2F
  5. [core]
  6. excludesfile = ~/.config/git/gitignore
  7. # hooksPath = ~/.config/git/hooks
  8. [interactive]
  9. singleKey = true
  10. [status]
  11. branch = true
  12. short = true
  13. showUntrackedFiles = normal
  14. [grep]
  15. lineNumber = true
  16. [diff]
  17. tool = vimdiff
  18. [diff "db_dump"]
  19. textconv = db_dump
  20. [diff "hexdump"]
  21. textconv = od -t x1z --
  22. [diff "pgpdump"]
  23. textconv = pgpdump
  24. [filter "lfs"]
  25. clean = git-lfs clean -- %f
  26. smudge = git-lfs smudge -- %f
  27. process = git-lfs filter-process
  28. required = true
  29. [commit]
  30. gpgsign = true
  31. verbose = true
  32. [rebase]
  33. instructionFormat = %G? %s (%an <%ae>, %ai)
  34. autostash = true
  35. [push]
  36. default = simple
  37. [url "git@github.com:"]
  38. pushInsteadOf = https://github.com/
  39. [tag]
  40. forceSignAnnotated = true
  41. [log]
  42. date = iso8601-strict
  43. [gcrypt]
  44. participants = 8D2902FE7DF47DDEDA2802F9456B9A0399A5DA2F
  45. publish-participants = false
  46. [annex]
  47. securehashesonly = true
  48. autocommit = false
  49. synccontent = true
  50. # copy instead of hard-linking when unlocking
  51. thin = false
  52. # assistant: do not auto delete unused files
  53. expireunused = false
  54. # fixes sync of repos inside encfs mounts
  55. ssh-options = -S~/.ssh/%r@%n:%p
  56. [alias]
  57. a = add
  58. c = commit
  59. d = diff
  60. f = fetch --prune
  61. p = push --verbose
  62. s = status
  63. t = for-each-ref --sort taggerdate --format '%(taggerdate:iso) %(objectname) %(tag)' refs/tags
  64. tree = log --graph --format=format:'%C(red)%G?%C(reset) %C(yellow)%h%C(reset)%C(blue)%d%C(reset) %C(dim green)%ar%C(reset) %C(white)%s%C(reset) %C(dim cyan)(%an, %ai)%C(reset)' --all
  65. x = annex