1
0

config.toml 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. [user]
  2. name = 'raylu'
  3. email = '90059+raylu@users.noreply.github.com'
  4. [ui]
  5. pager = 'delta'
  6. default-command = 'l'
  7. show-cryptographic-signatures = true
  8. diff-formatter = ':git' # https://jj-vcs.github.io/jj/latest/config/#processing-contents-to-be-paged
  9. [signing] # https://jj-vcs.github.io/jj/latest/config/#automatically-signing-commits
  10. behavior = 'drop'
  11. backend = 'ssh'
  12. backends.ssh.allowed-signers = '~/.ssh/allowed-signers'
  13. key = '~/.ssh/id_ed25519.pub'
  14. [git]
  15. sign-on-push = true
  16. [aliases]
  17. l = ['log', '-r', '(trunk()..@):: | ancestors(trunk()..@, 4) | bookmarks()', '-T', 'builtin_log_compact_full_description']
  18. ll = ['log', '-r', 'ancestors(present(@) | present(trunk()) | bookmarks() | tracked_remote_bookmarks() | visible_heads(), 2)']
  19. ls = ['log', '-r', '..(@ | present(trunk()))', '-T', 'builtin_log_compact_full_description']
  20. tug = ['bookmark', 'move', '--from', 'closest_bookmark(@)', '--to', 'closest_pushable(@)']
  21. [revset-aliases]
  22. 'closest_bookmark(to)' = 'heads(::to & bookmarks())'
  23. 'closest_pushable(to)' = 'heads(::to & mutable() & ~description(exact:"") & (~empty() | merges()))'
  24. [template-aliases]
  25. 'format_short_signature(signature)' = 'coalesce(signature.email().local(), email_placeholder)'