gitconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. [user]
  2. name = Tyler Cipriani
  3. email = tcipriani@wikimedia.org
  4. signingkey = F6DAD285018FAC02
  5. [alias]
  6. lool = log --pretty=format:\"%C(33)%h%C(reset) %C(194)%s%C(224)%d%C(reset) [%an]\" --graph --date=short
  7. lol = log --graph --date=short --oneline --abbrev-commit --all --graph --decorate -1
  8. ll = log --graph --date=short --oneline --abbrev-commit --all --graph --decorate -10
  9. up = remote update -p
  10. last = log -1 HEAD
  11. ack = grep --perl-regexp --break --heading --line-number
  12. co = checkout
  13. br = branch
  14. ci = commit
  15. st = status
  16. unstage = reset HEAD --
  17. edit = !vim $(git ls-files -m) -p
  18. whatadded = log --diff-filter=A
  19. fetchdiff = log -p --no-merges HEAD..@{u}
  20. branches = for-each-ref --sort=-committerdate --format='%(color:33)%(authordate:relative)\t%(color:194)%(authorname)\t%(color:white)%(color:bold)%(refname:short)' refs/remotes
  21. amend = commit -a --amend --no-edit
  22. review = !git push origin HEAD:refs/for/${1:-$(git rev-parse --abbrev-ref HEAD)}
  23. [push]
  24. default = matching
  25. [status]
  26. submoduleSummary = true
  27. [diff]
  28. submodule = log
  29. [grep]
  30. extendRegexp = true
  31. [url "ssh://gerrit.wikimedia.org:29418"]
  32. pushInsteadOf = https://gerrit.wikimedia.org/r/p
  33. [include]
  34. path = ~/.color.gitconfig
  35. path = ~/.config/git-photo/gitconfig
  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. [http]
  42. cookiefile = /home/thcipriani/.gitcookies
  43. [commit]
  44. template = /home/thcipriani/.git-commit-zomg