1
0

gitconfig 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. [difftool]
  64. prompt = false
  65. trustExitCode = true
  66. [difftool "kitty"]
  67. cmd = kitty +kitten diff $LOCAL $REMOTE
  68. [difftool "kitty.gui"]
  69. cmd = kitty kitty +kitten diff $LOCAL $REMOTE
  70. [log]
  71. decorate = true
  72. [alias]
  73. 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
  74. ff = merge --ff-only
  75. amend = commit --amend
  76. pushf = push --force-with-lease
  77. [protocol]
  78. version = 2
  79. [init]
  80. defaultBranch = main
  81. [diff-so-fancy]
  82. markEmptyLines = false