config 966 B

12345678910111213141516171819202122232425
  1. [user]
  2. name = demure
  3. email = demuredemeanor@gmail.com
  4. [push]
  5. default = simple
  6. [color]
  7. ui = true
  8. [alias]
  9. st = status -sb
  10. cmm = commit -m
  11. d = difftool --tool=vimdiff --no-prompt
  12. dt = difftool --no-prompt
  13. report = "log --author=demure --since='2 sunday ago' --until='1 sunday ago' --format='%Cgreen%ci%Creset %s%Creset' --no-merges"
  14. glog = log --all --pretty='format:%d %Cgreen%h%Creset %an - %s' --graph
  15. hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
  16. rebase-last-five = "!b=\"$(git branch --no-color | cut -c3-)\" ; h=\"$(git rev-parse $b)\" ; echo \"Current branch: $b $h\" ; c=\"$(git rev-parse $b~4)\" ; echo \"Recreating $b branch with initial commit $c ...\" ; git checkout --orphan new-start $c ; git commit -C $c ; git rebase --onto new-start $c $b ; git branch -d new-start ; git gc"
  17. [pull]
  18. rebase = true
  19. [rebase]
  20. stat = true
  21. [diff]
  22. tool = vimdiff
  23. [merge]
  24. tool = vimdiff