My dotfiles. Period.

before.gitconfig 1.2KB

123456789101112131415161718192021222324252627282930313233343536
  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 --color\
  21. --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"
  22. gra = log --all --graph --full-history --color\
  23. --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"
  24. grr = log --graph --full-history --color\
  25. --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"\
  26. --simplify-by-decoration
  27. k = !sh -c \
  28. '(which gitk >/dev/null || (echo "gitk not installed" && false)) && gitk'
  29. ka = !sh -c \
  30. '(which gitk >/dev/null || (echo "gitk not installed" && false)) && gitk --all'
  31. rb = rebase
  32. rbi = rebase --interactive
  33. rmv = remote --verbose
  34. sibling = ! ~/.gittum/bin/sibling
  35. st = status
  36. sh = show