gitconfig 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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 = true
  49. hyperlinks = true
  50. navigate = true
  51. tabs = 4
  52. syntaxh-theme = Coldark-Dark
  53. plus-style = "syntax #114433"
  54. [merge]
  55. defaultToUpstream = true
  56. conflictstyle = diff3
  57. [rebase]
  58. autosquash = true
  59. [rerere]
  60. enabled = true
  61. [fetch]
  62. prune = true
  63. [pull]
  64. ff = true
  65. [push]
  66. default = upstream
  67. autoSetupRemote = true
  68. [diff]
  69. tool = kitty
  70. guitool = kitty.gui
  71. colorMoved = plain
  72. [diff "lockb"]
  73. textconv = bun
  74. binary = true
  75. [difftool]
  76. prompt = false
  77. trustExitCode = true
  78. [difftool "kitty"]
  79. cmd = kitty +kitten diff $LOCAL $REMOTE
  80. [difftool "kitty.gui"]
  81. cmd = kitty kitty +kitten diff $LOCAL $REMOTE
  82. [log]
  83. decorate = true
  84. [alias]
  85. l = log --graph --abbrev-commit --stat --summary -C --decorate --date=local
  86. 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
  87. ff = merge --ff-only
  88. amend = commit --amend
  89. pushf = push --force-with-lease
  90. [protocol]
  91. version = 2
  92. [init]
  93. defaultBranch = main
  94. [diff-so-fancy]
  95. markEmptyLines = false