gitconfig 1.4 KB

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