[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-formatter = ["difft", "--display=inline", "--color=always", "$left", "$right"] #diff-formatter = ":git" [revset-aliases] 'nearby(x)' = 'descendants(ancestors(@, x))::' 'closest_bookmark(to)' = "heads(::to & bookmarks())" [revsets] log = "nearby(8) | @..main@origin | main@origin::@ | @:: | (visible_heads() & mine())" [colors] "diff token" = { underline = false } [templates] git_push_bookmark = '"barakmich/" ++ change_id.short()' [git] 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", "@"] tug = ["bookmark", "move", "--from", "closest_bookmark(@-)", "--to", "@-"] "tug." = ["bookmark", "move", "--from", "closest_bookmark(@-)", "--to", "@"] pull = ["git", "fetch"] fetch = ["git", "fetch"] push = ["git", "push"] p = ["git", "push", "-r", "closest_bookmark(@-)"] d = ["describe", "-m"] drop = ["abandon"]