gitconfig 1.4 KB

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