gitconfig 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. line-numbers = false
  34. navigate = true
  35. syntaxh-theme = Coldark-Dark
  36. plus-style = "syntax #114433"
  37. [merge]
  38. defaultToUpstream = true
  39. conflictstyle = diff3
  40. [rebase]
  41. autosquash = true
  42. [rerere]
  43. enabled = true
  44. [fetch]
  45. prune = true
  46. [pull]
  47. ff = true
  48. [push]
  49. default = upstream
  50. [diff]
  51. tool = kitty
  52. guitool = kitty.gui
  53. colorMoved = default
  54. [difftool]
  55. prompt = false
  56. trustExitCode = true
  57. [difftool "kitty"]
  58. cmd = kitty +kitten diff $LOCAL $REMOTE
  59. [difftool "kitty.gui"]
  60. cmd = kitty kitty +kitten diff $LOCAL $REMOTE
  61. [log]
  62. decorate = true
  63. [alias]
  64. 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
  65. ff = merge --ff-only
  66. put = !git-push && git-push --tags
  67. pushf = push --force-with-lease
  68. [protocol]
  69. version = 2
  70. [init]
  71. defaultBranch = main
  72. [diff-so-fancy]
  73. markEmptyLines = false