[user] name = "" email = "" [ui] pager = ["bat", "--plain"] default-command = ["log"] [ui.movement] edit = true [ui.diff] tool = ["difft", "--color", "always", "$left", "$right"] [git] push-new-bookmarks = true # [signing] # behavior = "own" # backend = "ssh" # key = "~/.ssh/id_ecdsa.pub" [aliases] c = ["commit"] ci = ["commit", "--interactive"] e = ["edit"] i = ["git", "init", "--colocate"] nb = ["bookmark", "create", "-r @-"] # "new bookmark" pull = ["git", "fetch"] push = ["git", "push", "--allow-new"] r = ["rebase"] s = ["squash"] si = ["squash", "--interactive"] tug = ["bookmark", "move", "--from", "closest_bookmark(@-)", "--to", "@-"] ls = ["util", "exec", "--", "sh", "-c", """ jj log --limit 12 echo jj status """] [revset-aliases] 'closest_bookmark(to)' = 'heads(::to & bookmarks())' [templates] draft_commit_description = ''' concat( coalesce(description, "\n"), surround( "\nJJ: This commit contains the following changes:\n", "", indent("JJ: ", diff.stat(72)), ), "\nJJ: ignore-rest\n", diff.git(), ) ''' [template-aliases] 'format_short_id(id)' = 'id.shortest()'