-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjj.toml
More file actions
39 lines (30 loc) · 1.15 KB
/
jj.toml
File metadata and controls
39 lines (30 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Who? Me.
[user]
name = "Ripta Pasay"
email = "ripta@users.noreply.github.com"
[ui]
diff-formatter = "delta"
default-command = "log"
editor = "nvim"
[git]
write-change-id-header = true
[jjj.splash]
skip = true
[merge-tools.delta]
program = "delta"
[aliases]
l = ["log", "-r", "(main..@):: | (main..@)-"]
restack = ["rebase", "-d", "trunk()", "-s", "mutable_roots()", "--simplify-parents"]
stack = ["rebase", "-A", "trunk()", "-B", "closest_merge(@)", "-r"]
tug = ["bookmark", "move", "--from", "closest_bookmark(@)", "--to", "closest_pushable(@)"]
[revset-aliases]
'closest_bookmark(to)' = 'heads(::to & bookmarks())'
'closest_pushable(to)' = "heads(::to & ~description(exact:'') & (~empty() | merges()))"
'closest_merge(to)' = "heads(::to & merges())"
'immutable_heads()' = 'builtin_immutable_heads() | (trunk().. & ~mine())'
'mutable_roots()' = "roots(trunk()..) & mutable()"
'mine()' = "user(glob:'ripta@users.noreply.github.com')"
'user(x)' = 'author(x) | committer(x)'
'stack()' = 'stack(@)'
'stack(x)' = 'stack(x, 2)'
'stack(x, n)' = 'ancestors(reachable(x, mutable()), n)'