gitconfig 880 B

1234567891011121314151617181920
  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. report = "log --author=demure --since='2 sunday ago' --until='1 sunday ago' --format='%Cgreen%ci%Creset %s%Creset' --no-merges"
  13. glog = log --all --pretty='format:%d %Cgreen%h%Creset %an - %s' --graph
  14. hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
  15. 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"
  16. [pull]
  17. rebase = true
  18. [rebase]
  19. stat = true