My dotfiles. Period.

before.gitconfig 1.1KB

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