gitconfig 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. [user]
  2. name = raylu
  3. email = 90059+raylu@users.noreply.github.com
  4. signingkey = ~/.ssh/id_ed25519.pub
  5. [gpg]
  6. format = ssh
  7. [gpg "ssh"]
  8. allowedSignersFile = ~/.ssh/allowed_signers
  9. [commit]
  10. gpgsign = true
  11. [tag]
  12. gpgsign = true
  13. [color]
  14. ui = true
  15. interactive = true
  16. [color "status"]
  17. added = green bold
  18. changed = red bold
  19. untracked = cyan
  20. [color "diff"]
  21. meta = cyan bold
  22. old = red bold
  23. new = green bold
  24. frag = blue
  25. commit = yellow bold
  26. [color "branch"]
  27. current = green bold
  28. local = bold
  29. remote = red bold
  30. [color "grep"]
  31. match = cyan
  32. [pager]
  33. color = true
  34. [core]
  35. editor = vi
  36. pager = delta
  37. precomposeUnicode = true
  38. [feature]
  39. manyFiles = true
  40. experimental = true
  41. [interactive]
  42. diffFilter = delta --color-only
  43. [delta]
  44. features = zebra-dark
  45. # https://dandavison.github.io/delta/color-moved-support.html
  46. map-styles = bold purple => "#777777 #330022", bold cyan => "syntax #004a4a"
  47. true-color = always
  48. line-numbers = false
  49. navigate = true
  50. tabs = 4
  51. syntaxh-theme = Coldark-Dark
  52. plus-style = "syntax #114433"
  53. [merge]
  54. defaultToUpstream = true
  55. conflictstyle = diff3
  56. [rebase]
  57. autosquash = true
  58. [rerere]
  59. enabled = true
  60. [fetch]
  61. prune = true
  62. [pull]
  63. ff = true
  64. [push]
  65. default = upstream
  66. autoSetupRemote = true
  67. [diff]
  68. tool = kitty
  69. guitool = kitty.gui
  70. colorMoved = plain
  71. [diff "lockb"]
  72. textconv = bun
  73. binary = true
  74. [difftool]
  75. prompt = false
  76. trustExitCode = true
  77. [difftool "kitty"]
  78. cmd = kitty +kitten diff $LOCAL $REMOTE
  79. [difftool "kitty.gui"]
  80. cmd = kitty kitty +kitten diff $LOCAL $REMOTE
  81. [log]
  82. decorate = true
  83. [alias]
  84. l = log --graph --abbrev-commit --stat --summary -C --decorate --date=local
  85. short = log --graph --pretty=format:'%C(yellow)%h%Creset %Cgreen(%cd) %C(bold blue)%aN%Creset %C(red)%d%Creset%n\t%s' --abbrev-commit --patience --date=local
  86. ff = merge --ff-only
  87. amend = commit --amend
  88. pushf = push --force-with-lease
  89. [protocol]
  90. version = 2
  91. [init]
  92. defaultBranch = main
  93. [diff-so-fancy]
  94. markEmptyLines = false