1
0

config 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. [user]
  2. name = Thomas Dy
  3. email = thatsmydoing@gmail.com
  4. [core]
  5. autocrlf = input
  6. [delta]
  7. features = side-by-side line-numbers decorations
  8. whitespace-error-style = 22 reverse
  9. [delta "decorations"]
  10. commit-decoration-style = bold yellow box ul
  11. file-style = bold yellow ul
  12. file-decoration-style = none
  13. [color]
  14. ui = true
  15. [diff]
  16. algorithm = patience
  17. [push]
  18. default = simple
  19. [alias]
  20. root = !pwd
  21. assume = update-index --assume-unchanged
  22. unassume = update-index --no-assume-unchanged
  23. assumed = "!git ls-files -v | grep ^h | cut -c 3-"
  24. lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit"
  25. po = push origin
  26. pof = push origin --force-with-lease
  27. ff = merge --ff-only @{upstream}
  28. roh = rebase origin/HEAD
  29. rioh = rebase -i origin/HEAD
  30. ca = commit --amend
  31. smash = "!git add -u && git ca --no-edit && git pof"
  32. reset-head = remote set-head origin -a
  33. head = for-each-ref --format="%(symref:lstrip=-1)" refs/remotes/origin/HEAD
  34. sh = "!git switch $(git head)"