gitconfig 2.0 KB

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