35 lines
925 B
TOML
35 lines
925 B
TOML
[user]
|
|
name = "Barak Michener"
|
|
email = "me@barakmich.com"
|
|
|
|
[ui]
|
|
editor = "nvim"
|
|
#default-command = ["log", "--reversed"]
|
|
default-command = ["util", "exec", "--", "bash", "-c", "jj log --reversed --no-pager && jj diff -s"]
|
|
diff.format = "git"
|
|
|
|
[revset-aliases]
|
|
'nearby(x)' = 'descendants(ancestors(@, x))::'
|
|
|
|
[revsets]
|
|
log = "nearby(8) | @..main@origin | main@origin::@ | @:: | visible_heads() ~ bookmarks()"
|
|
|
|
|
|
[colors]
|
|
"diff token" = { underline = false }
|
|
|
|
[git]
|
|
subprocess = true
|
|
push-bookmark-prefix = "barakmich/"
|
|
push-new-bookmarks = true
|
|
# Prevent pushing work in progress or anything explicitly labeled "private"
|
|
private-commits = "description(glob:'wip:*') | description(glob:'private:*') | description(glob:'XXX*')"
|
|
|
|
[aliases]
|
|
bm = ["bookmark", "move", "--to"]
|
|
"bm." = ["bookmark", "move", "--to", "@"]
|
|
pull = ["git", "fetch"]
|
|
fetch = ["git", "fetch"]
|
|
push = ["git", "push"]
|
|
d = ["describe", "-m"]
|
|
drop = ["abandon"]
|