My dotfiles. Period.

main.gitconfig 1.5KB

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