1
0

gitconfig 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. [user]
  2. name = raylu
  3. email = 90059+raylu@users.noreply.github.com
  4. signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMQyY8qhakFYLJY4kEXuWMclyBCIz0uzvMEEhB7o+czr
  5. [gpg]
  6. format = ssh
  7. [gpg "ssh"]
  8. program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign
  9. allowedSignersFile = ~/.ssh/allowed_signers
  10. [commit]
  11. gpgsign = true
  12. [tag]
  13. gpgsign = true
  14. [color]
  15. ui = true
  16. interactive = true
  17. [color "status"]
  18. added = green bold
  19. changed = red bold
  20. untracked = cyan
  21. [color "diff"]
  22. meta = cyan bold
  23. old = red bold
  24. new = green bold
  25. frag = blue
  26. commit = yellow bold
  27. [color "branch"]
  28. current = green bold
  29. local = bold
  30. remote = red bold
  31. [color "grep"]
  32. match = cyan
  33. [pager]
  34. color = true
  35. [core]
  36. editor = vi
  37. pager = delta
  38. precomposeUnicode = true
  39. [feature]
  40. manyFiles = true
  41. experimental = true
  42. [interactive]
  43. diffFilter = delta --color-only
  44. [delta]
  45. features = zebra-dark
  46. # https://dandavison.github.io/delta/color-moved-support.html
  47. map-styles = bold purple => "#777777 #330022", bold cyan => "syntax #004a4a"
  48. true-color = always
  49. line-numbers = true
  50. hyperlinks = true
  51. hyperlinks-file-link-format = "vscode://file/{path}:{line}"
  52. navigate = true
  53. tabs = 4
  54. syntaxh-theme = Coldark-Dark
  55. plus-style = "syntax #114433"
  56. [merge]
  57. defaultToUpstream = true
  58. conflictstyle = diff3
  59. [rebase]
  60. autosquash = true
  61. [rerere]
  62. enabled = true
  63. [fetch]
  64. prune = true
  65. [pull]
  66. ff = true
  67. [push]
  68. default = upstream
  69. autoSetupRemote = true
  70. [diff]
  71. tool = kitty
  72. guitool = kitty.gui
  73. colorMoved = plain
  74. [diff "lockb"]
  75. textconv = bun
  76. binary = true
  77. [difftool]
  78. prompt = false
  79. trustExitCode = true
  80. [difftool "kitty"]
  81. cmd = kitty +kitten diff $LOCAL $REMOTE
  82. [difftool "kitty.gui"]
  83. cmd = kitty kitty +kitten diff $LOCAL $REMOTE
  84. [log]
  85. decorate = true
  86. [alias]
  87. l = log --graph --abbrev-commit --stat --summary -C --decorate --date=local
  88. 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
  89. ff = merge --ff-only
  90. amend = commit --amend
  91. pushf = push --force-with-lease
  92. [protocol]
  93. version = 2
  94. [init]
  95. defaultBranch = main