My dotfiles. Period.

main.gitconfig 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 = !~/.gittum/bin/metacm msg_flake8
  12. cmt = !~/.gittum/bin/metacm msg_tmp
  13. cmr = !~/.gittum/bin/metacm msg_typo
  14. cmv = !~/.gittum/bin/metacm msg_bumpv
  15. cmw = !~/.gittum/bin/metacm 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. slurp = ! ~/.gittum/bin/slurp
  36. st = status
  37. sh = show
  38. who = ! ~/.gittum/bin/who
  39. whoo = ! ~/.gittum/bin/whoo
  40. [tag]
  41. sort = version:refname