My dotfiles. Period.

main.gitconfig 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. [log]
  2. date = iso
  3. [color]
  4. ui = true
  5. [core]
  6. editor = vim
  7. [alias]
  8. ap = !clear && git add --patch
  9. br = branch
  10. bra = branch -avv
  11. blog = log --graph --oneline --pretty=tformat:'%Cred%h%Creset - %C(yellow)%s%Creset %C(green)<%an>%Creset %C(blue)@%d%Creset' --abbrev-commit
  12. cm = commit --verbose
  13. cma = commit --verbose --amend
  14. cme = commit --allow-empty -m 'WIP empty commit just for the kicks'
  15. cmv = !~/.config/gittum/bin/metacm msg_bumpv
  16. cmw = !~/.config/gittum/bin/metacm msg_wip
  17. co = checkout
  18. com = checkout master
  19. cp = cherry-pick
  20. dc = !clear && git diff --cached
  21. dcw = !clear && git diff --cached --word-diff=color
  22. dcp = !clear && git diff --cached --word-diff=porcelain
  23. dcc = !clear && git diff --cached --word-diff=color --word-diff-regex=.
  24. df = diff --word-diff=color
  25. dfp = diff --word-diff=porcelain
  26. dfc = diff --word-diff=color --word-diff-regex=.
  27. gr = log --graph --full-history --color\
  28. --pretty=tformat:"%x1b[31m%h%x20%x1b[32m%d%x1b[0m%x20%s%x1b[0m"
  29. gra = log --all --graph --full-history --color\
  30. --pretty=tformat:"%x1b[31m%h%x20%x1b[32m%d%x1b[0m%x20%s%x1b[0m"
  31. grr = log --graph --full-history --color\
  32. --pretty=tformat:"%x1b[31m%h%x20%x1b[32m%d%x1b[0m%x20%s%x1b[0m"\
  33. --simplify-by-decoration
  34. k = !sh -c \
  35. '(which gitk >/dev/null || (echo "gitk not installed" && false)) && gitk $@' --
  36. ka = !sh -c \
  37. '(which gitk >/dev/null || (echo "gitk not installed" && false)) && gitk $@ --all' --
  38. rb = rebase
  39. rbc = rebase --continue
  40. rbi = rebase --interactive
  41. rme = ! ~/.config/gittum/bin/remote-edit
  42. rmv = remote --verbose
  43. sibling = ! ~/.config/gittum/bin/sibling
  44. slurp = ! ~/.config/gittum/bin/slurp
  45. st = status
  46. sh = show
  47. sw = show --word-diff=color
  48. swp = show --word-diff=porcelain
  49. swc = show --word-diff=color --word-diff-regex=.
  50. swm = show --format="format:%B" --no-patch
  51. who = ! ~/.config/gittum/bin/who
  52. whoo = ! ~/.config/gittum/bin/whoo
  53. xtragc = ! ~/.config/gittum/bin/xtragc
  54. [diff]
  55. guitool = kdiff3
  56. [push]
  57. default = simple
  58. [tag]
  59. sort = version:refname
  60. [gui]
  61. spellingdictionary = none
  62. [pull]
  63. ff = only