config 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
  2. # config
  3. #
  4. # Docs:
  5. # * https://git-scm.com/docs/git-config
  6. ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
  7. [credential]
  8. helper = cache --timeout=18000
  9. [core]
  10. autocrlf = input
  11. editor = nvim
  12. eol = lf
  13. [pull]
  14. rebase = false
  15. [init]
  16. defaultBranch = master
  17. [push]
  18. autoSetupRemote = true
  19. [commit]
  20. gpgsign = true
  21. [gpg]
  22. format = ssh
  23. [filter "lfs"]
  24. clean = git-lfs clean -- %f
  25. smudge = git-lfs smudge -- %f
  26. process = git-lfs filter-process
  27. required = true
  28. [blame]
  29. file = .git-blame-ignore-revs
  30. [alias]
  31. s = status -s
  32. l = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
  33. d = diff
  34. # Include private configuration. Mostly for setting organization-specific author
  35. # details. The file looks something like this:
  36. # ```
  37. # [includeIf "hasconfig:remote.*.url:git@github.com:example/**"]
  38. # path = config.example
  39. # ```
  40. # `config.example` might look like this:
  41. # ```
  42. # [user]
  43. # email = user@example.com
  44. # ```
  45. [include]
  46. path = config.custom