My dotfiles. Period.

main.gitconfig 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. [color]
  2. ui = true
  3. [core]
  4. editor = vim
  5. [alias]
  6. ap = !clear && git add --patch
  7. br = branch
  8. blog = log --graph --oneline --pretty=tformat:'%Cred%h%Creset - %C(yellow)%s%Creset %C(green)<%an>%Creset %C(blue)@%d%Creset' --abbrev-commit
  9. cm = commit --verbose
  10. cma = commit --verbose --amend
  11. cmf = !sh -c \
  12. 'git commit --verbose --edit --message=\"$(~/.gittum/bin/findcat msg_flake8)\"'
  13. cmt = !sh -c \
  14. 'git commit --verbose --edit --message=\"$(~/.gittum/bin/findcat msg_tmp)\"'
  15. cmr = !sh -c \
  16. 'git commit --verbose --edit --message=\"$(~/.gittum/bin/findcat msg_typo)\"'
  17. cmv = !sh -c \
  18. 'git commit --verbose --edit --message=\"$(~/.gittum/bin/findcat msg_bumpv)\"'
  19. cmw = !sh -c \
  20. 'git commit --verbose --edit --message=\"$(~/.gittum/bin/findcat msg_wip)\"'
  21. co = checkout
  22. com = checkout master
  23. cp = cherry-pick
  24. dc = !clear && git diff --cached
  25. gr = log --graph --full-history --color\
  26. --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"
  27. gra = log --all --graph --full-history --color\
  28. --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"
  29. grr = log --graph --full-history --color\
  30. --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"\
  31. --simplify-by-decoration
  32. k = !sh -c \
  33. '(which gitk >/dev/null || (echo "gitk not installed" && false)) && gitk $@' --
  34. ka = !sh -c \
  35. '(which gitk >/dev/null || (echo "gitk not installed" && false)) && gitk $@ --all' --
  36. rb = rebase
  37. rbi = rebase --interactive
  38. rmv = remote --verbose
  39. sibling = ! ~/.gittum/bin/sibling
  40. slurp = ! ~/.gittum/bin/slurp
  41. st = status
  42. sh = show
  43. who = ! ~/.gittum/bin/who
  44. whoo = ! ~/.gittum/bin/whoo
  45. [tag]
  46. sort = version:refname