My dotfiles. Period.

main.gitconfig 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 --edit --message=\"$(~/.gittum/bin/findcat msg_flake8)\"'
  12. cmr = !sh -c \
  13. 'git commit --edit --message=\"$(~/.gittum/bin/findcat msg_typo)\"'
  14. cmv = !sh -c \
  15. 'git commit --verbose --edit --message=\"$(~/.gittum/bin/findcat msg_bumpv)\"'
  16. cmw = !sh -c \
  17. 'git commit --edit --message=\"$(~/.gittum/bin/findcat msg_wip)\"'
  18. co = checkout
  19. com = checkout master
  20. cp = cherry-pick
  21. dc = !clear && git diff --cached
  22. gr = log --graph --full-history --color\
  23. --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"
  24. gra = log --all --graph --full-history --color\
  25. --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"
  26. grr = log --graph --full-history --color\
  27. --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"\
  28. --simplify-by-decoration
  29. k = !sh -c \
  30. '(which gitk >/dev/null || (echo "gitk not installed" && false)) && gitk'
  31. ka = !sh -c \
  32. '(which gitk >/dev/null || (echo "gitk not installed" && false)) && gitk --all'
  33. rb = rebase
  34. rbi = rebase --interactive
  35. rmv = remote --verbose
  36. sibling = ! ~/.gittum/bin/sibling
  37. st = status
  38. sh = show