1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
"$schema" = "https://jj-vcs.github.io/jj/latest/config-schema.json"
[revset-aliases]
'closest_bookmark(to)' = 'heads(::to & bookmarks())'
[aliases]
tug = ["bookmark", "move", "--from", "closest_bookmark(@-)", "--to", "@-"]
ml = ["log", "-r", "visible_heads() & mine()"]
lf = ["log", "-r", "visible_heads()"]
[templates]
git_push_bookmark = '"tslil/push-" ++ change_id.short()'
draft_commit_description = '''
concat(
coalesce(description, default_commit_description, "\n"),
surround(
"\nJJ: This commit contains the following changes:\n", "",
indent("JJ: ", diff.stat(72)),
),
"\nJJ: ignore-rest\n",
diff.git(),
)'''
|