gitconfig 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. precomposeUnicode = true
  30. [feature]
  31. manyFiles = true
  32. experimental = true
  33. [interactive]
  34. diffFilter = delta --color-only
  35. [delta]
  36. features = zebra-dark
  37. # https://dandavison.github.io/delta/color-moved-support.html
  38. map-styles = bold purple => "#777777 #330022", bold cyan => "syntax #004a4a"
  39. true-color = always
  40. line-numbers = false
  41. navigate = true
  42. tabs = 4
  43. syntaxh-theme = Coldark-Dark
  44. plus-style = "syntax #114433"
  45. [merge]
  46. defaultToUpstream = true
  47. conflictstyle = diff3
  48. [rebase]
  49. autosquash = true
  50. [rerere]
  51. enabled = true
  52. [fetch]
  53. prune = true
  54. [pull]
  55. ff = true
  56. [push]
  57. default = upstream
  58. autoSetupRemote = true
  59. [diff]
  60. tool = kitty
  61. guitool = kitty.gui
  62. colorMoved = plain
  63. [diff "lockb"]
  64. textconv = bun
  65. binary = true
  66. [difftool]
  67. prompt = false
  68. trustExitCode = true
  69. [difftool "kitty"]
  70. cmd = kitty +kitten diff $LOCAL $REMOTE
  71. [difftool "kitty.gui"]
  72. cmd = kitty kitty +kitten diff $LOCAL $REMOTE
  73. [log]
  74. decorate = true
  75. [alias]
  76. 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
  77. ff = merge --ff-only
  78. amend = commit --amend
  79. pushf = push --force-with-lease
  80. [protocol]
  81. version = 2
  82. [init]
  83. defaultBranch = main
  84. [diff-so-fancy]
  85. markEmptyLines = false