gitconfig 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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 = "/mnt/c/Users/raylu/AppData/Local/1Password/app/8/op-ssh-sign-wsl"
  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. sshCommand = ssh.exe
  40. [feature]
  41. manyFiles = true
  42. experimental = true
  43. [interactive]
  44. diffFilter = delta --color-only
  45. [delta]
  46. features = zebra-dark
  47. # https://dandavison.github.io/delta/color-moved-support.html
  48. map-styles = bold purple => "#777777 #330022", bold cyan => "syntax #004a4a"
  49. true-color = always
  50. line-numbers = true
  51. hyperlinks = true
  52. hyperlinks-file-link-format = "vscode://file/{path}:{line}"
  53. navigate = true
  54. tabs = 4
  55. syntaxh-theme = Coldark-Dark
  56. plus-style = "syntax #114433"
  57. [merge]
  58. defaultToUpstream = true
  59. conflictstyle = diff3
  60. [rebase]
  61. autosquash = true
  62. [rerere]
  63. enabled = true
  64. [fetch]
  65. prune = true
  66. [pull]
  67. ff = true
  68. [push]
  69. default = upstream
  70. autoSetupRemote = true
  71. [diff]
  72. tool = kitty
  73. guitool = kitty.gui
  74. colorMoved = plain
  75. [diff "lockb"]
  76. textconv = bun
  77. binary = true
  78. [difftool]
  79. prompt = false
  80. trustExitCode = true
  81. [difftool "kitty"]
  82. cmd = kitty +kitten diff $LOCAL $REMOTE
  83. [difftool "kitty.gui"]
  84. cmd = kitty kitty +kitten diff $LOCAL $REMOTE
  85. [log]
  86. decorate = true
  87. [alias]
  88. l = log --graph --abbrev-commit --stat --summary -C --decorate --date=local
  89. 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
  90. ff = merge --ff-only
  91. amend = commit --amend
  92. pushf = push --force-with-lease
  93. [protocol]
  94. version = 2
  95. [init]
  96. defaultBranch = main
  97. [diff-so-fancy]
  98. markEmptyLines = false