gitconfig 1.6 KB

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