.gitconfig 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # This is Git's per-user configuration file.
  2. [user]
  3. name = Colin Powell
  4. email = colin@unbl.ink
  5. signingkey = 7B405BE1
  6. [push]
  7. default = current
  8. [commit]
  9. gpgsign = true
  10. [core]
  11. excludesfile = ~/.gitignore_global
  12. [alias]
  13. undo = reset --soft HEAD^
  14. stash-all = stash save --include-untracked
  15. tree = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
  16. oline = log --oneline --decorate --no-merges
  17. st = status
  18. ci = commit
  19. br = branch
  20. co = checkout
  21. d = diff
  22. p = pull --autostash
  23. l = log --date-order --date=iso --graph --full-history --all --pretty=format:'%x08%x09%C(red)%h %C(cyan)%ad%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08 %C(bold blue)%aN%C(reset)%C(bold yellow)%d %C(reset)%s'
  24. lg = log -p
  25. lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
  26. lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
  27. hs = for-each-ref --sort=-committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
  28. [merge]
  29. conflictstyle = diff3
  30. [gpg]
  31. program = /usr/bin/gpg
  32. [status]
  33. showUntrackedFiles = all
  34. [transfer]
  35. fsckobjects = true
  36. [filter "lfs"]
  37. clean = git-lfs clean -- %f
  38. smudge = git-lfs smudge -- %f
  39. process = git-lfs filter-process
  40. required = true
  41. [branch]
  42. autosetuprebase = always
  43. [magithub]
  44. online = false
  45. [magithub "status"]
  46. includeStatusHeader = false
  47. includePullRequestsSection = false
  48. includeIssuesSection = false
  49. [github]
  50. user = powellc
  51. [sendmail]
  52. smtpserver = box.unbl.ink
  53. smtpuser = colin@unbl.ink
  54. smtpencryption = tls
  55. smtpserverport = 587