gitconfig 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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 "hexdump"]
  19. textconv = od -t x1z --
  20. [diff "pgpdump"]
  21. textconv = pgpdump
  22. [filter "lfs"]
  23. clean = git-lfs clean -- %f
  24. smudge = git-lfs smudge -- %f
  25. process = git-lfs filter-process
  26. required = true
  27. [commit]
  28. gpgsign = true
  29. verbose = true
  30. [rebase]
  31. instructionFormat = %G? %s (%an <%ae>, %ai)
  32. autostash = true
  33. [push]
  34. default = simple
  35. [url "git@github.com:"]
  36. pushInsteadOf = https://github.com/
  37. [tag]
  38. forceSignAnnotated = true
  39. [log]
  40. date = iso8601-strict
  41. [gcrypt]
  42. participants = 8D2902FE7DF47DDEDA2802F9456B9A0399A5DA2F
  43. publish-participants = false
  44. [annex]
  45. securehashesonly = true
  46. autocommit = false
  47. synccontent = true
  48. # copy instead of hard-linking when unlocking
  49. thin = false
  50. # assistant: do not auto delete unused files
  51. expireunused = false
  52. # fixes sync of repos inside encfs mounts
  53. ssh-options = -S~/.ssh/%r@%n:%p
  54. [alias]
  55. a = add
  56. c = commit
  57. d = diff
  58. p = push --verbose
  59. s = status
  60. t = for-each-ref --sort taggerdate --format '%(taggerdate:iso) %(objectname) %(tag)' refs/tags
  61. 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
  62. x = annex