.gitconfig 531 B

1234567891011121314151617181920212223242526272829303132
  1. [user]
  2. name = xd1le
  3. email = elisp.vim@gmail.com
  4. [core]
  5. editor = vim
  6. excludesfile = '~/dots/git/gitignore'
  7. [init]
  8. defaultBranch = main
  9. [push]
  10. default = matching
  11. [sendemail]
  12. smtpEncryption = tls
  13. smtpServer = smtp.gmail.com
  14. smtpUser = elisp.vim@gmail.com
  15. smtpServerPort = 587
  16. suppresscc = self
  17. [alias]
  18. amend = commit --amend
  19. # TODO: Implement 'edit' alias.
  20. # edit = '!f() { }; f'
  21. rl = reflog
  22. rollback = reset --hard HEAD@{1}
  23. undo = reset HEAD~1
  24. [commit]
  25. template = ~/dots/git/commit-template