repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk

7616721b1aa1f4d5470b57331795efb54373be42

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (13)

+722 / −324 text lines · 1 binary (striped old/new sizes in 64-byte units, not churn) · lines and sizes scale separately

Diff layout

neovim/README.md

Modified

+5 / −0 text lines

4949# todo
51* configure friendly-snippets with blink.cmp
52* is it worth integrating yazi into neovim?
53* check out <https://github.com/garymjr/nvim-snippets>
54* steal <https://github.com/olrtg/nvim-emmet>
5155* create skeleton-plugin for default file content based on file type
5256 * user command for creating new file
5357 * :Skeletor java class -> java files with correct package and boilerplate (class, interface, record,...)
58 * Use <https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#snippet_syntax> as template syntax

neovim/after/ftplugin/java.lua

Added
new file mode 100644

+91 / −0 text lines

1local puk = require 'std.puk'
2local project = require 'std.project'
3
4puk.defer 'jdtls' (function(jdtls)
5 local cfg = {
6 -- The command that starts the language server
7 -- See: https://github.com/eclipse/eclipse.jdt.ls#running-from-the-command-line
8 cmd = {
9 -- 💀
10 'java', -- or '/path/to/java17_or_newer/bin/java'
11 -- depends on if `java` is in your $PATH env variable and if it points to the right version.
13 '-Declipse.application=org.eclipse.jdt.ls.core.id1',
14 '-Dosgi.bundles.defaultStartLevel=4',
15 '-Declipse.product=org.eclipse.jdt.ls.core.product',
16 '-Dlog.protocol=true',
17 '-Dlog.level=ALL',
18 '-Xmx1g',
19 '--add-modules=ALL-SYSTEM',
20 '--add-opens', 'java.base/java.util=ALL-UNNAMED',
21 '--add-opens', 'java.base/java.lang=ALL-UNNAMED',
23 -- 💀
24 '-jar', '/path/to/jdtls_install_location/plugins/org.eclipse.equinox.launcher_VERSION_NUMBER.jar',
25 -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
26 -- Must point to the Change this to
27 -- eclipse.jdt.ls installation the actual version
30 -- 💀
31 '-configuration', '/path/to/jdtls_install_location/config_SYSTEM',
32 -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^
33 -- Must point to the Change to one of `linux`, `win` or `mac`
34 -- eclipse.jdt.ls installation Depending on your system.
37 -- 💀
38 -- See `data directory configuration` section in the README
39 '-data', '/path/to/unique/per/project/workspace/folder'
40 },
41 root_dir = project.find_java_project_root(),
42 -- Here you can configure eclipse.jdt.ls specific settings
43 -- See https://github.com/eclipse/eclipse.jdt.ls/wiki/Running-the-JAVA-LS-server-from-the-command-line#initialize-request
44 -- for a list of options
45 settings = {
46 java = {
47 --TODO: gnerate list of runtimes?
48 configuration = {
49 -- See https://github.com/eclipse/eclipse.jdt.ls/wiki/Running-the-JAVA-LS-server-from-the-command-line#initialize-request
50 -- And search for `interface RuntimeOption`
51 -- The `name` is NOT arbitrary, but must match one of the elements from `enum ExecutionEnvironment` in the link above
52 runtimes = {
53 {
54 name = "JavaSE-11",
55 path = "/usr/lib/jvm/java-11-openjdk/",
56 },
57 {
58 name = "JavaSE-17",
59 path = "/usr/lib/jvm/java-17-openjdk/",
60 },
61 }
62 }
63 }
64 },
65 -- Language server `initializationOptions`
66 -- You need to extend the `bundles` with paths to jar files
67 -- if you want to use additional eclipse.jdt.ls plugins.
68 --
69 -- See https://github.com/mfussenegger/nvim-jdtls#java-debug-installation
70 init_options = {
71 --TODO: add java-debug and vscode-java-test extensions
72 bundles = {}
73 },
74 }
76 -- TODO: convert to lua
77 -- nnoremap <A-o> <Cmd>lua require'jdtls'.organize_imports()<CR>
78 -- nnoremap crv <Cmd>lua require('jdtls').extract_variable()<CR>
79 -- vnoremap crv <Esc><Cmd>lua require('jdtls').extract_variable(true)<CR>
80 -- nnoremap crc <Cmd>lua require('jdtls').extract_constant()<CR>
81 -- vnoremap crc <Esc><Cmd>lua require('jdtls').extract_constant(true)<CR>
82 -- vnoremap crm <Esc><Cmd>lua require('jdtls').extract_method(true)<CR>
83 -- TODO: start using nvim-dap
84 -- " This requires java-debug and vscode-java-test bundles, see install steps in this README further below.
85 -- nnoremap <leader>df <Cmd>lua require'jdtls'.test_class()<CR>
86 -- nnoremap <leader>dn <Cmd>lua require'jdtls'.test_nearest_method()<CR>
88 --TODO: enable jdtls when config is ready
89 -- jdtls.start_or_attach(cfg)
90 vim.notify(vim.inspect(cfg))
91end)

neovim/lua/bugabinga/file_explorer.lua

Modified

+1 / −2 text lines

11local puk = require 'std.puk'
22local map = require 'std.map'
3local icon = require 'std.icon'
54local oil = puk 'oil'
1817oil.setup {
1918 default_file_explorer = true,
20 -- Set to true to watch the filesystem for changes and reload oil
19 -- Set to true to watch the file system for changes and reload oil
2120 watch_for_changes = true,
2221 skip_confirm_for_simple_edits = true,
2322 prompt_save_on_select_new_entry = false,

neovim/lua/bugabinga/format.lua

Modified

+21 / −15 text lines

33local map = require 'std.map'
44local user_command = require 'std.user_command'
6local format = function ()
7 require 'conform'.format( { async = false, lsp_fallback = true }, function ( err )
6local format = function()
7 require 'conform'.format({ async = false, lsp_fallback = true }, function(err)
88 if err and dbg.get() then
9 vim.print( 'Format failed', err )
9 vim.print('Format failed', err)
1010 end
11 end )
11 end)
1212end
1414map.N {
1818 command = format,
21user_command.Format 'Format the current buffer' ( format )
21user_command.Format 'Format the current buffer' (format)
2323vim.o.formatexpr = "v:lua.require'conform'.formatexpr()"
25puk.defer 'conform' (function (conform)
25puk.defer 'conform' (function(conform)
2626 conform.setup {
2727 formatters_by_ft = {
28 toml = { 'taplo' },
29 sh = { 'shfmt' },
30 just = { 'just' },
31 zig = { 'zigfmt' },
32 -- Use the "*" file type to run formatters on all file types.
33 ['*'] = { 'injected', 'typos' },
34 -- Use the "_" file type to run formatters on file types that don't
28 toml = { 'taplo' },
29 sh = { 'shfmt' },
30 just = { 'just' },
31 zig = { 'zigfmt' },
32 markdown = { 'mdslw' },
33 -- Use the “*” file type to run formatters on all file types.
34 ['*'] = { 'injected', 'typos' },
35 -- Use the “_” file type to run formatters on file types that don't
3536 -- have other formatters configured.
36 ['_'] = { 'trim_whitespace', 'trim_newlines' },
37 ['_'] = { 'trim_whitespace', 'trim_newlines' },
3738 },
38 log_level = dbg.get() and vim.log.levels.TRACE or vim.log.levels.INFO,
39 formatters = {
40 mdslw = {
41 prepend_args = { '--stdin-filepath', '$FILENAME' },
42 },
43 },
44 log_level = dbg.get() and vim.log.levels.TRACE or vim.log.levels.INFO,
3945 }
4046end)

neovim/puk.plugins.nuon

Modified

+8 / −0 text lines

330330 main,
331331 "0ec6c3a9ef63703975e800d7386b6114863e1f9d",
332332 null
333 ],
334 [
335 jdtls,
336 github,
337 mfussenegger/nvim-jdtls,
338 master,
339 "ece818f909c6414cbad4e1fb240d87e003e10fda",
340 null
333341 ]

neovim/spell/nerd.utf-8.add

Modified

+9 / −0 text lines

143143Noppen
144144Tibhar
145145Kopfgröße
146Alfaview
147Sammelphase
148Susann
149Gruppenschulungen
150Teilnehmeranzahl
151Stundenkontingente
152Hinduismus
153Buddhismus
154Glaubensregeln

neovim/spell/nerd.utf-8.add.spl

Modified

Binary size (old → new): 2095 → 2292 bytes.

nushell/completions/jj-completions.nu

Modified

+565 / −301 text lines

33 # Jujutsu (An experimental VCS)
44 export extern jj [
5 --repository(-R): string # Path to repository to operate on
5 --repository(-R): path # Path to repository to operate on
66 --ignore-working-copy # Don't snapshot the working copy, and don't update it
77 --ignore-immutable # Allow rewriting immutable commits
88 --at-operation: string # Operation to load the repo at
1111 --color: string # When to colorize output (always, never, debug, auto)
1212 --quiet # Silence non-primary command output
1313 --no-pager # Disable the pager
14 --config-toml: string # Additional configuration options (can be repeated)
14 --config: string # Additional configuration options (can be repeated)
15 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
16 --config-file: path # Additional configuration files (can be repeated)
1517 --help(-h) # Print help (see more with '--help')
1618 --version(-V) # Print version
1719 ]
1921 # Abandon a revision
2022 export extern "jj abandon" [
21 ...revisions: string # The revision(s) to abandon
23 ...revisions_pos: string # The revision(s) to abandon (default: @)
24 -r: string
2225 --summary(-s) # Do not print every abandoned commit on a separate line
23 -r # Ignored (but lets you pass `-r` for consistency with other commands)
2426 --restore-descendants # Do not modify the content of the children of the abandoned commits
25 --repository(-R): string # Path to repository to operate on
27 --repository(-R): path # Path to repository to operate on
2628 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2729 --ignore-immutable # Allow rewriting immutable commits
2830 --at-operation: string # Operation to load the repo at
3133 --color: string # When to colorize output (always, never, debug, auto)
3234 --quiet # Silence non-primary command output
3335 --no-pager # Disable the pager
34 --config-toml: string # Additional configuration options (can be repeated)
36 --config: string # Additional configuration options (can be repeated)
37 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
38 --config-file: path # Additional configuration files (can be repeated)
3539 --help(-h) # Print help (see more with '--help')
3640 ]
4044 --from(-f): string # Source revision to absorb from
4145 --into(-t): string # Destination revisions to absorb into
4246 --to: string # Destination revisions to absorb into
43 ...paths: string # Move only changes to these paths (instead of all paths)
44 --repository(-R): string # Path to repository to operate on
47 ...paths: path # Move only changes to these paths (instead of all paths)
48 --repository(-R): path # Path to repository to operate on
4549 --ignore-working-copy # Don't snapshot the working copy, and don't update it
4650 --ignore-immutable # Allow rewriting immutable commits
4751 --at-operation: string # Operation to load the repo at
5054 --color: string # When to colorize output (always, never, debug, auto)
5155 --quiet # Silence non-primary command output
5256 --no-pager # Disable the pager
53 --config-toml: string # Additional configuration options (can be repeated)
57 --config: string # Additional configuration options (can be repeated)
58 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
59 --config-file: path # Additional configuration files (can be repeated)
5460 --help(-h) # Print help (see more with '--help')
5561 ]
5864 export extern "jj backout" [
5965 --revisions(-r): string # The revision(s) to apply the reverse of
6066 --destination(-d): string # The revision to apply the reverse changes on top of
61 --repository(-R): string # Path to repository to operate on
67 --repository(-R): path # Path to repository to operate on
6268 --ignore-working-copy # Don't snapshot the working copy, and don't update it
6369 --ignore-immutable # Allow rewriting immutable commits
6470 --at-operation: string # Operation to load the repo at
6773 --color: string # When to colorize output (always, never, debug, auto)
6874 --quiet # Silence non-primary command output
6975 --no-pager # Disable the pager
70 --config-toml: string # Additional configuration options (can be repeated)
76 --config: string # Additional configuration options (can be repeated)
77 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
78 --config-file: path # Additional configuration files (can be repeated)
7179 --help(-h) # Print help (see more with '--help')
7280 ]
7482 # Manage bookmarks [default alias: b]
7583 export extern "jj bookmark" [
76 --repository(-R): string # Path to repository to operate on
84 --repository(-R): path # Path to repository to operate on
7785 --ignore-working-copy # Don't snapshot the working copy, and don't update it
7886 --ignore-immutable # Allow rewriting immutable commits
7987 --at-operation: string # Operation to load the repo at
8290 --color: string # When to colorize output (always, never, debug, auto)
8391 --quiet # Silence non-primary command output
8492 --no-pager # Disable the pager
85 --config-toml: string # Additional configuration options (can be repeated)
93 --config: string # Additional configuration options (can be repeated)
94 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
95 --config-file: path # Additional configuration files (can be repeated)
8696 --help(-h) # Print help (see more with '--help')
8797 ]
91101 --revision(-r): string # The bookmark's target revision
92102 --to: string # The bookmark's target revision
93103 ...names: string # The bookmarks to create
94 --repository(-R): string # Path to repository to operate on
104 --repository(-R): path # Path to repository to operate on
95105 --ignore-working-copy # Don't snapshot the working copy, and don't update it
96106 --ignore-immutable # Allow rewriting immutable commits
97107 --at-operation: string # Operation to load the repo at
100110 --color: string # When to colorize output (always, never, debug, auto)
101111 --quiet # Silence non-primary command output
102112 --no-pager # Disable the pager
103 --config-toml: string # Additional configuration options (can be repeated)
113 --config: string # Additional configuration options (can be repeated)
114 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
115 --config-file: path # Additional configuration files (can be repeated)
104116 --help(-h) # Print help (see more with '--help')
105117 ]
107119 # Delete an existing bookmark and propagate the deletion to remotes on the next push
108120 export extern "jj bookmark delete" [
109121 ...names: string # The bookmarks to delete
110 --repository(-R): string # Path to repository to operate on
122 --repository(-R): path # Path to repository to operate on
111123 --ignore-working-copy # Don't snapshot the working copy, and don't update it
112124 --ignore-immutable # Allow rewriting immutable commits
113125 --at-operation: string # Operation to load the repo at
116128 --color: string # When to colorize output (always, never, debug, auto)
117129 --quiet # Silence non-primary command output
118130 --no-pager # Disable the pager
119 --config-toml: string # Additional configuration options (can be repeated)
131 --config: string # Additional configuration options (can be repeated)
132 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
133 --config-file: path # Additional configuration files (can be repeated)
120134 --help(-h) # Print help (see more with '--help')
121135 ]
123137 # Forget everything about a bookmark, including its local and remote targets
124138 export extern "jj bookmark forget" [
125139 ...names: string # The bookmarks to forget
126 --repository(-R): string # Path to repository to operate on
140 --repository(-R): path # Path to repository to operate on
127141 --ignore-working-copy # Don't snapshot the working copy, and don't update it
128142 --ignore-immutable # Allow rewriting immutable commits
129143 --at-operation: string # Operation to load the repo at
132146 --color: string # When to colorize output (always, never, debug, auto)
133147 --quiet # Silence non-primary command output
134148 --no-pager # Disable the pager
135 --config-toml: string # Additional configuration options (can be repeated)
149 --config: string # Additional configuration options (can be repeated)
150 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
151 --config-file: path # Additional configuration files (can be repeated)
136152 --help(-h) # Print help (see more with '--help')
137153 ]
145161 ...names: string # Show bookmarks whose local name matches
146162 --revisions(-r): string # Show bookmarks whose local targets are in the given revisions
147163 --template(-T): string # Render each bookmark using the given template
148 --repository(-R): string # Path to repository to operate on
164 --repository(-R): path # Path to repository to operate on
149165 --ignore-working-copy # Don't snapshot the working copy, and don't update it
150166 --ignore-immutable # Allow rewriting immutable commits
151167 --at-operation: string # Operation to load the repo at
154170 --color: string # When to colorize output (always, never, debug, auto)
155171 --quiet # Silence non-primary command output
156172 --no-pager # Disable the pager
157 --config-toml: string # Additional configuration options (can be repeated)
173 --config: string # Additional configuration options (can be repeated)
174 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
175 --config-file: path # Additional configuration files (can be repeated)
158176 --help(-h) # Print help (see more with '--help')
159177 ]
164182 --to: string # Move bookmarks to this revision
165183 --allow-backwards(-B) # Allow moving bookmarks backwards or sideways
166184 ...names: string # Move bookmarks matching the given name patterns
167 --repository(-R): string # Path to repository to operate on
185 --repository(-R): path # Path to repository to operate on
168186 --ignore-working-copy # Don't snapshot the working copy, and don't update it
169187 --ignore-immutable # Allow rewriting immutable commits
170188 --at-operation: string # Operation to load the repo at
173191 --color: string # When to colorize output (always, never, debug, auto)
174192 --quiet # Silence non-primary command output
175193 --no-pager # Disable the pager
176 --config-toml: string # Additional configuration options (can be repeated)
194 --config: string # Additional configuration options (can be repeated)
195 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
196 --config-file: path # Additional configuration files (can be repeated)
177197 --help(-h) # Print help (see more with '--help')
178198 ]
181201 export extern "jj bookmark rename" [
182202 old: string # The old name of the bookmark
183203 new: string # The new name of the bookmark
184 --repository(-R): string # Path to repository to operate on
204 --repository(-R): path # Path to repository to operate on
185205 --ignore-working-copy # Don't snapshot the working copy, and don't update it
186206 --ignore-immutable # Allow rewriting immutable commits
187207 --at-operation: string # Operation to load the repo at
190210 --color: string # When to colorize output (always, never, debug, auto)
191211 --quiet # Silence non-primary command output
192212 --no-pager # Disable the pager
193 --config-toml: string # Additional configuration options (can be repeated)
213 --config: string # Additional configuration options (can be repeated)
214 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
215 --config-file: path # Additional configuration files (can be repeated)
194216 --help(-h) # Print help (see more with '--help')
195217 ]
200222 --to: string # The bookmark's target revision
201223 --allow-backwards(-B) # Allow moving the bookmark backwards or sideways
202224 ...names: string # The bookmarks to update
203 --repository(-R): string # Path to repository to operate on
225 --repository(-R): path # Path to repository to operate on
204226 --ignore-working-copy # Don't snapshot the working copy, and don't update it
205227 --ignore-immutable # Allow rewriting immutable commits
206228 --at-operation: string # Operation to load the repo at
209231 --color: string # When to colorize output (always, never, debug, auto)
210232 --quiet # Silence non-primary command output
211233 --no-pager # Disable the pager
212 --config-toml: string # Additional configuration options (can be repeated)
234 --config: string # Additional configuration options (can be repeated)
235 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
236 --config-file: path # Additional configuration files (can be repeated)
213237 --help(-h) # Print help (see more with '--help')
214238 ]
216240 # Start tracking given remote bookmarks
217241 export extern "jj bookmark track" [
218242 ...names: string # Remote bookmarks to track
219 --repository(-R): string # Path to repository to operate on
243 --repository(-R): path # Path to repository to operate on
220244 --ignore-working-copy # Don't snapshot the working copy, and don't update it
221245 --ignore-immutable # Allow rewriting immutable commits
222246 --at-operation: string # Operation to load the repo at
225249 --color: string # When to colorize output (always, never, debug, auto)
226250 --quiet # Silence non-primary command output
227251 --no-pager # Disable the pager
228 --config-toml: string # Additional configuration options (can be repeated)
252 --config: string # Additional configuration options (can be repeated)
253 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
254 --config-file: path # Additional configuration files (can be repeated)
229255 --help(-h) # Print help (see more with '--help')
230256 ]
232258 # Stop tracking given remote bookmarks
233259 export extern "jj bookmark untrack" [
234260 ...names: string # Remote bookmarks to untrack
235 --repository(-R): string # Path to repository to operate on
261 --repository(-R): path # Path to repository to operate on
236262 --ignore-working-copy # Don't snapshot the working copy, and don't update it
237263 --ignore-immutable # Allow rewriting immutable commits
238264 --at-operation: string # Operation to load the repo at
241267 --color: string # When to colorize output (always, never, debug, auto)
242268 --quiet # Silence non-primary command output
243269 --no-pager # Disable the pager
244 --config-toml: string # Additional configuration options (can be repeated)
270 --config: string # Additional configuration options (can be repeated)
271 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
272 --config-file: path # Additional configuration files (can be repeated)
245273 --help(-h) # Print help (see more with '--help')
246274 ]
248276 # Manage bookmarks [default alias: b]
249277 export extern "jj branch" [
250 --repository(-R): string # Path to repository to operate on
278 --repository(-R): path # Path to repository to operate on
251279 --ignore-working-copy # Don't snapshot the working copy, and don't update it
252280 --ignore-immutable # Allow rewriting immutable commits
253281 --at-operation: string # Operation to load the repo at
256284 --color: string # When to colorize output (always, never, debug, auto)
257285 --quiet # Silence non-primary command output
258286 --no-pager # Disable the pager
259 --config-toml: string # Additional configuration options (can be repeated)
287 --config: string # Additional configuration options (can be repeated)
288 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
289 --config-file: path # Additional configuration files (can be repeated)
260290 --help(-h) # Print help (see more with '--help')
261291 ]
265295 --revision(-r): string # The bookmark's target revision
266296 --to: string # The bookmark's target revision
267297 ...names: string # The bookmarks to create
268 --repository(-R): string # Path to repository to operate on
298 --repository(-R): path # Path to repository to operate on
269299 --ignore-working-copy # Don't snapshot the working copy, and don't update it
270300 --ignore-immutable # Allow rewriting immutable commits
271301 --at-operation: string # Operation to load the repo at
274304 --color: string # When to colorize output (always, never, debug, auto)
275305 --quiet # Silence non-primary command output
276306 --no-pager # Disable the pager
277 --config-toml: string # Additional configuration options (can be repeated)
307 --config: string # Additional configuration options (can be repeated)
308 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
309 --config-file: path # Additional configuration files (can be repeated)
278310 --help(-h) # Print help (see more with '--help')
279311 ]
281313 # Delete an existing bookmark and propagate the deletion to remotes on the next push
282314 export extern "jj branch delete" [
283315 ...names: string # The bookmarks to delete
284 --repository(-R): string # Path to repository to operate on
316 --repository(-R): path # Path to repository to operate on
285317 --ignore-working-copy # Don't snapshot the working copy, and don't update it
286318 --ignore-immutable # Allow rewriting immutable commits
287319 --at-operation: string # Operation to load the repo at
290322 --color: string # When to colorize output (always, never, debug, auto)
291323 --quiet # Silence non-primary command output
292324 --no-pager # Disable the pager
293 --config-toml: string # Additional configuration options (can be repeated)
325 --config: string # Additional configuration options (can be repeated)
326 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
327 --config-file: path # Additional configuration files (can be repeated)
294328 --help(-h) # Print help (see more with '--help')
295329 ]
297331 # Forget everything about a bookmark, including its local and remote targets
298332 export extern "jj branch forget" [
299333 ...names: string # The bookmarks to forget
300 --repository(-R): string # Path to repository to operate on
334 --repository(-R): path # Path to repository to operate on
301335 --ignore-working-copy # Don't snapshot the working copy, and don't update it
302336 --ignore-immutable # Allow rewriting immutable commits
303337 --at-operation: string # Operation to load the repo at
306340 --color: string # When to colorize output (always, never, debug, auto)
307341 --quiet # Silence non-primary command output
308342 --no-pager # Disable the pager
309 --config-toml: string # Additional configuration options (can be repeated)
343 --config: string # Additional configuration options (can be repeated)
344 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
345 --config-file: path # Additional configuration files (can be repeated)
310346 --help(-h) # Print help (see more with '--help')
311347 ]
319355 ...names: string # Show bookmarks whose local name matches
320356 --revisions(-r): string # Show bookmarks whose local targets are in the given revisions
321357 --template(-T): string # Render each bookmark using the given template
322 --repository(-R): string # Path to repository to operate on
358 --repository(-R): path # Path to repository to operate on
323359 --ignore-working-copy # Don't snapshot the working copy, and don't update it
324360 --ignore-immutable # Allow rewriting immutable commits
325361 --at-operation: string # Operation to load the repo at
328364 --color: string # When to colorize output (always, never, debug, auto)
329365 --quiet # Silence non-primary command output
330366 --no-pager # Disable the pager
331 --config-toml: string # Additional configuration options (can be repeated)
367 --config: string # Additional configuration options (can be repeated)
368 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
369 --config-file: path # Additional configuration files (can be repeated)
332370 --help(-h) # Print help (see more with '--help')
333371 ]
338376 --to: string # Move bookmarks to this revision
339377 --allow-backwards(-B) # Allow moving bookmarks backwards or sideways
340378 ...names: string # Move bookmarks matching the given name patterns
341 --repository(-R): string # Path to repository to operate on
379 --repository(-R): path # Path to repository to operate on
342380 --ignore-working-copy # Don't snapshot the working copy, and don't update it
343381 --ignore-immutable # Allow rewriting immutable commits
344382 --at-operation: string # Operation to load the repo at
347385 --color: string # When to colorize output (always, never, debug, auto)
348386 --quiet # Silence non-primary command output
349387 --no-pager # Disable the pager
350 --config-toml: string # Additional configuration options (can be repeated)
388 --config: string # Additional configuration options (can be repeated)
389 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
390 --config-file: path # Additional configuration files (can be repeated)
351391 --help(-h) # Print help (see more with '--help')
352392 ]
355395 export extern "jj branch rename" [
356396 old: string # The old name of the bookmark
357397 new: string # The new name of the bookmark
358 --repository(-R): string # Path to repository to operate on
398 --repository(-R): path # Path to repository to operate on
359399 --ignore-working-copy # Don't snapshot the working copy, and don't update it
360400 --ignore-immutable # Allow rewriting immutable commits
361401 --at-operation: string # Operation to load the repo at
364404 --color: string # When to colorize output (always, never, debug, auto)
365405 --quiet # Silence non-primary command output
366406 --no-pager # Disable the pager
367 --config-toml: string # Additional configuration options (can be repeated)
407 --config: string # Additional configuration options (can be repeated)
408 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
409 --config-file: path # Additional configuration files (can be repeated)
368410 --help(-h) # Print help (see more with '--help')
369411 ]
374416 --to: string # The bookmark's target revision
375417 --allow-backwards(-B) # Allow moving the bookmark backwards or sideways
376418 ...names: string # The bookmarks to update
377 --repository(-R): string # Path to repository to operate on
419 --repository(-R): path # Path to repository to operate on
378420 --ignore-working-copy # Don't snapshot the working copy, and don't update it
379421 --ignore-immutable # Allow rewriting immutable commits
380422 --at-operation: string # Operation to load the repo at
383425 --color: string # When to colorize output (always, never, debug, auto)
384426 --quiet # Silence non-primary command output
385427 --no-pager # Disable the pager
386 --config-toml: string # Additional configuration options (can be repeated)
428 --config: string # Additional configuration options (can be repeated)
429 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
430 --config-file: path # Additional configuration files (can be repeated)
387431 --help(-h) # Print help (see more with '--help')
388432 ]
390434 # Start tracking given remote bookmarks
391435 export extern "jj branch track" [
392436 ...names: string # Remote bookmarks to track
393 --repository(-R): string # Path to repository to operate on
437 --repository(-R): path # Path to repository to operate on
394438 --ignore-working-copy # Don't snapshot the working copy, and don't update it
395439 --ignore-immutable # Allow rewriting immutable commits
396440 --at-operation: string # Operation to load the repo at
399443 --color: string # When to colorize output (always, never, debug, auto)
400444 --quiet # Silence non-primary command output
401445 --no-pager # Disable the pager
402 --config-toml: string # Additional configuration options (can be repeated)
446 --config: string # Additional configuration options (can be repeated)
447 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
448 --config-file: path # Additional configuration files (can be repeated)
403449 --help(-h) # Print help (see more with '--help')
404450 ]
406452 # Stop tracking given remote bookmarks
407453 export extern "jj branch untrack" [
408454 ...names: string # Remote bookmarks to untrack
409 --repository(-R): string # Path to repository to operate on
455 --repository(-R): path # Path to repository to operate on
410456 --ignore-working-copy # Don't snapshot the working copy, and don't update it
411457 --ignore-immutable # Allow rewriting immutable commits
412458 --at-operation: string # Operation to load the repo at
415461 --color: string # When to colorize output (always, never, debug, auto)
416462 --quiet # Silence non-primary command output
417463 --no-pager # Disable the pager
418 --config-toml: string # Additional configuration options (can be repeated)
464 --config: string # Additional configuration options (can be repeated)
465 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
466 --config-file: path # Additional configuration files (can be repeated)
419467 --help(-h) # Print help (see more with '--help')
420468 ]
422470 # Print contents of files in a revision
423471 export extern "jj cat" [
424472 --revision(-r): string # The revision to get the file contents from
425 ...paths: string # Paths to print
426 --repository(-R): string # Path to repository to operate on
473 ...paths: path # Paths to print
474 --repository(-R): path # Path to repository to operate on
427475 --ignore-working-copy # Don't snapshot the working copy, and don't update it
428476 --ignore-immutable # Allow rewriting immutable commits
429477 --at-operation: string # Operation to load the repo at
432480 --color: string # When to colorize output (always, never, debug, auto)
433481 --quiet # Silence non-primary command output
434482 --no-pager # Disable the pager
435 --config-toml: string # Additional configuration options (can be repeated)
483 --config: string # Additional configuration options (can be repeated)
484 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
485 --config-file: path # Additional configuration files (can be repeated)
436486 --help(-h) # Print help (see more with '--help')
437487 ]
444494 export extern "jj chmod" [
445495 mode: string@"nu-complete jj chmod mode"
446496 --revision(-r): string # The revision to update
447 ...paths: string # Paths to change the executable bit for
448 --repository(-R): string # Path to repository to operate on
497 ...paths: path # Paths to change the executable bit for
498 --repository(-R): path # Path to repository to operate on
449499 --ignore-working-copy # Don't snapshot the working copy, and don't update it
450500 --ignore-immutable # Allow rewriting immutable commits
451501 --at-operation: string # Operation to load the repo at
454504 --color: string # When to colorize output (always, never, debug, auto)
455505 --quiet # Silence non-primary command output
456506 --no-pager # Disable the pager
457 --config-toml: string # Additional configuration options (can be repeated)
507 --config: string # Additional configuration options (can be repeated)
508 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
509 --config-file: path # Additional configuration files (can be repeated)
458510 --help(-h) # Print help (see more with '--help')
459511 ]
463515 --interactive(-i) # Interactively choose which changes to include in the first commit
464516 --tool: string # Specify diff editor to be used (implies --interactive)
465517 --message(-m): string # The change description to use (don't open editor)
466 ...paths: string # Put these paths in the first commit
518 ...paths: path # Put these paths in the first commit
467519 --reset-author # Reset the author to the configured user
468520 --author: string # Set author to the provided string
469 --repository(-R): string # Path to repository to operate on
521 --repository(-R): path # Path to repository to operate on
470522 --ignore-working-copy # Don't snapshot the working copy, and don't update it
471523 --ignore-immutable # Allow rewriting immutable commits
472524 --at-operation: string # Operation to load the repo at
475527 --color: string # When to colorize output (always, never, debug, auto)
476528 --quiet # Silence non-primary command output
477529 --no-pager # Disable the pager
478 --config-toml: string # Additional configuration options (can be repeated)
530 --config: string # Additional configuration options (can be repeated)
531 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
532 --config-file: path # Additional configuration files (can be repeated)
479533 --help(-h) # Print help (see more with '--help')
480534 ]
482536 # Manage config options
483537 export extern "jj config" [
484 --repository(-R): string # Path to repository to operate on
538 --repository(-R): path # Path to repository to operate on
485539 --ignore-working-copy # Don't snapshot the working copy, and don't update it
486540 --ignore-immutable # Allow rewriting immutable commits
487541 --at-operation: string # Operation to load the repo at
490544 --color: string # When to colorize output (always, never, debug, auto)
491545 --quiet # Silence non-primary command output
492546 --no-pager # Disable the pager
493 --config-toml: string # Additional configuration options (can be repeated)
547 --config: string # Additional configuration options (can be repeated)
548 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
549 --config-file: path # Additional configuration files (can be repeated)
494550 --help(-h) # Print help (see more with '--help')
495551 ]
498554 export extern "jj config edit" [
499555 --user # Target the user-level config
500556 --repo # Target the repo-level config
501 --repository(-R): string # Path to repository to operate on
557 --repository(-R): path # Path to repository to operate on
502558 --ignore-working-copy # Don't snapshot the working copy, and don't update it
503559 --ignore-immutable # Allow rewriting immutable commits
504560 --at-operation: string # Operation to load the repo at
507563 --color: string # When to colorize output (always, never, debug, auto)
508564 --quiet # Silence non-primary command output
509565 --no-pager # Disable the pager
510 --config-toml: string # Additional configuration options (can be repeated)
566 --config: string # Additional configuration options (can be repeated)
567 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
568 --config-file: path # Additional configuration files (can be repeated)
511569 --help(-h) # Print help (see more with '--help')
512570 ]
514572 # Get the value of a given config option.
515573 export extern "jj config get" [
516574 name: string
517 --repository(-R): string # Path to repository to operate on
575 --repository(-R): path # Path to repository to operate on
518576 --ignore-working-copy # Don't snapshot the working copy, and don't update it
519577 --ignore-immutable # Allow rewriting immutable commits
520578 --at-operation: string # Operation to load the repo at
523581 --color: string # When to colorize output (always, never, debug, auto)
524582 --quiet # Silence non-primary command output
525583 --no-pager # Disable the pager
526 --config-toml: string # Additional configuration options (can be repeated)
584 --config: string # Additional configuration options (can be repeated)
585 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
586 --config-file: path # Additional configuration files (can be repeated)
527587 --help(-h) # Print help (see more with '--help')
528588 ]
535595 --user # Target the user-level config
536596 --repo # Target the repo-level config
537597 --template(-T): string # Render each variable using the given template
538 --repository(-R): string # Path to repository to operate on
598 --repository(-R): path # Path to repository to operate on
539599 --ignore-working-copy # Don't snapshot the working copy, and don't update it
540600 --ignore-immutable # Allow rewriting immutable commits
541601 --at-operation: string # Operation to load the repo at
544604 --color: string # When to colorize output (always, never, debug, auto)
545605 --quiet # Silence non-primary command output
546606 --no-pager # Disable the pager
547 --config-toml: string # Additional configuration options (can be repeated)
607 --config: string # Additional configuration options (can be repeated)
608 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
609 --config-file: path # Additional configuration files (can be repeated)
548610 --help(-h) # Print help (see more with '--help')
549611 ]
552614 export extern "jj config path" [
553615 --user # Target the user-level config
554616 --repo # Target the repo-level config
555 --repository(-R): string # Path to repository to operate on
617 --repository(-R): path # Path to repository to operate on
556618 --ignore-working-copy # Don't snapshot the working copy, and don't update it
557619 --ignore-immutable # Allow rewriting immutable commits
558620 --at-operation: string # Operation to load the repo at
561623 --color: string # When to colorize output (always, never, debug, auto)
562624 --quiet # Silence non-primary command output
563625 --no-pager # Disable the pager
564 --config-toml: string # Additional configuration options (can be repeated)
626 --config: string # Additional configuration options (can be repeated)
627 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
628 --config-file: path # Additional configuration files (can be repeated)
565629 --help(-h) # Print help (see more with '--help')
566630 ]
568632 # Update config file to set the given option to a given value
569633 export extern "jj config set" [
570634 name: string
571 value: string
635 value: string # New value to set
572636 --user # Target the user-level config
573637 --repo # Target the repo-level config
574 --repository(-R): string # Path to repository to operate on
638 --repository(-R): path # Path to repository to operate on
575639 --ignore-working-copy # Don't snapshot the working copy, and don't update it
576640 --ignore-immutable # Allow rewriting immutable commits
577641 --at-operation: string # Operation to load the repo at
580644 --color: string # When to colorize output (always, never, debug, auto)
581645 --quiet # Silence non-primary command output
582646 --no-pager # Disable the pager
583 --config-toml: string # Additional configuration options (can be repeated)
647 --config: string # Additional configuration options (can be repeated)
648 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
649 --config-file: path # Additional configuration files (can be repeated)
584650 --help(-h) # Print help (see more with '--help')
585651 ]
589655 name: string
590656 --user # Target the user-level config
591657 --repo # Target the repo-level config
592 --repository(-R): string # Path to repository to operate on
658 --repository(-R): path # Path to repository to operate on
593659 --ignore-working-copy # Don't snapshot the working copy, and don't update it
594660 --ignore-immutable # Allow rewriting immutable commits
595661 --at-operation: string # Operation to load the repo at
598664 --color: string # When to colorize output (always, never, debug, auto)
599665 --quiet # Silence non-primary command output
600666 --no-pager # Disable the pager
601 --config-toml: string # Additional configuration options (can be repeated)
667 --config: string # Additional configuration options (can be repeated)
668 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
669 --config-file: path # Additional configuration files (can be repeated)
602670 --help(-h) # Print help (see more with '--help')
603671 ]
605673 # Low-level commands not intended for users
606674 export extern "jj debug" [
607 --repository(-R): string # Path to repository to operate on
675 --repository(-R): path # Path to repository to operate on
608676 --ignore-working-copy # Don't snapshot the working copy, and don't update it
609677 --ignore-immutable # Allow rewriting immutable commits
610678 --at-operation: string # Operation to load the repo at
613681 --color: string # When to colorize output (always, never, debug, auto)
614682 --quiet # Silence non-primary command output
615683 --no-pager # Disable the pager
616 --config-toml: string # Additional configuration options (can be repeated)
684 --config: string # Additional configuration options (can be repeated)
685 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
686 --config-file: path # Additional configuration files (can be repeated)
617687 --help(-h) # Print help (see more with '--help')
618688 ]
620690 # Rebuild commit index
621691 export extern "jj debug copy-detection" [
622692 revision?: string # Show changes in this revision, compared to its parent(s)
623 --repository(-R): string # Path to repository to operate on
693 --repository(-R): path # Path to repository to operate on
624694 --ignore-working-copy # Don't snapshot the working copy, and don't update it
625695 --ignore-immutable # Allow rewriting immutable commits
626696 --at-operation: string # Operation to load the repo at
629699 --color: string # When to colorize output (always, never, debug, auto)
630700 --quiet # Silence non-primary command output
631701 --no-pager # Disable the pager
632 --config-toml: string # Additional configuration options (can be repeated)
702 --config: string # Additional configuration options (can be repeated)
703 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
704 --config-file: path # Additional configuration files (can be repeated)
633705 --help(-h) # Print help (see more with '--help')
634706 ]
636708 # Parse fileset expression
637709 export extern "jj debug fileset" [
638 path: string
639 --repository(-R): string # Path to repository to operate on
710 path: path
711 --repository(-R): path # Path to repository to operate on
640712 --ignore-working-copy # Don't snapshot the working copy, and don't update it
641713 --ignore-immutable # Allow rewriting immutable commits
642714 --at-operation: string # Operation to load the repo at
645717 --color: string # When to colorize output (always, never, debug, auto)
646718 --quiet # Silence non-primary command output
647719 --no-pager # Disable the pager
648 --config-toml: string # Additional configuration options (can be repeated)
720 --config: string # Additional configuration options (can be repeated)
721 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
722 --config-file: path # Additional configuration files (can be repeated)
649723 --help(-h) # Print help (see more with '--help')
650724 ]
652726 # Show commit index stats
653727 export extern "jj debug index" [
654 --repository(-R): string # Path to repository to operate on
728 --repository(-R): path # Path to repository to operate on
655729 --ignore-working-copy # Don't snapshot the working copy, and don't update it
656730 --ignore-immutable # Allow rewriting immutable commits
657731 --at-operation: string # Operation to load the repo at
660734 --color: string # When to colorize output (always, never, debug, auto)
661735 --quiet # Silence non-primary command output
662736 --no-pager # Disable the pager
663 --config-toml: string # Additional configuration options (can be repeated)
737 --config: string # Additional configuration options (can be repeated)
738 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
739 --config-file: path # Additional configuration files (can be repeated)
664740 --help(-h) # Print help (see more with '--help')
665741 ]
667743 # Show information about the local working copy state
668744 export extern "jj debug local-working-copy" [
669 --repository(-R): string # Path to repository to operate on
745 --repository(-R): path # Path to repository to operate on
670746 --ignore-working-copy # Don't snapshot the working copy, and don't update it
671747 --ignore-immutable # Allow rewriting immutable commits
672748 --at-operation: string # Operation to load the repo at
675751 --color: string # When to colorize output (always, never, debug, auto)
676752 --quiet # Silence non-primary command output
677753 --no-pager # Disable the pager
678 --config-toml: string # Additional configuration options (can be repeated)
754 --config: string # Additional configuration options (can be repeated)
755 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
756 --config-file: path # Additional configuration files (can be repeated)
679757 --help(-h) # Print help (see more with '--help')
680758 ]
687765 export extern "jj debug operation" [
688766 operation?: string
689767 --display: string@"nu-complete jj debug operation display"
690 --repository(-R): string # Path to repository to operate on
768 --repository(-R): path # Path to repository to operate on
691769 --ignore-working-copy # Don't snapshot the working copy, and don't update it
692770 --ignore-immutable # Allow rewriting immutable commits
693771 --at-operation: string # Operation to load the repo at
696774 --color: string # When to colorize output (always, never, debug, auto)
697775 --quiet # Silence non-primary command output
698776 --no-pager # Disable the pager
699 --config-toml: string # Additional configuration options (can be repeated)
777 --config: string # Additional configuration options (can be repeated)
778 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
779 --config-file: path # Additional configuration files (can be repeated)
700780 --help(-h) # Print help (see more with '--help')
701781 ]
703783 # Rebuild commit index
704784 export extern "jj debug reindex" [
705 --repository(-R): string # Path to repository to operate on
785 --repository(-R): path # Path to repository to operate on
706786 --ignore-working-copy # Don't snapshot the working copy, and don't update it
707787 --ignore-immutable # Allow rewriting immutable commits
708788 --at-operation: string # Operation to load the repo at
711791 --color: string # When to colorize output (always, never, debug, auto)
712792 --quiet # Silence non-primary command output
713793 --no-pager # Disable the pager
714 --config-toml: string # Additional configuration options (can be repeated)
794 --config: string # Additional configuration options (can be repeated)
795 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
796 --config-file: path # Additional configuration files (can be repeated)
715797 --help(-h) # Print help (see more with '--help')
716798 ]
718800 # Evaluate revset to full commit IDs
719801 export extern "jj debug revset" [
720802 revision: string
721 --repository(-R): string # Path to repository to operate on
803 --repository(-R): path # Path to repository to operate on
722804 --ignore-working-copy # Don't snapshot the working copy, and don't update it
723805 --ignore-immutable # Allow rewriting immutable commits
724806 --at-operation: string # Operation to load the repo at
727809 --color: string # When to colorize output (always, never, debug, auto)
728810 --quiet # Silence non-primary command output
729811 --no-pager # Disable the pager
730 --config-toml: string # Additional configuration options (can be repeated)
812 --config: string # Additional configuration options (can be repeated)
813 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
814 --config-file: path # Additional configuration files (can be repeated)
731815 --help(-h) # Print help (see more with '--help')
732816 ]
734818 # Trigger a snapshot in the op log
735819 export extern "jj debug snapshot" [
736 --repository(-R): string # Path to repository to operate on
820 --repository(-R): path # Path to repository to operate on
737821 --ignore-working-copy # Don't snapshot the working copy, and don't update it
738822 --ignore-immutable # Allow rewriting immutable commits
739823 --at-operation: string # Operation to load the repo at
742826 --color: string # When to colorize output (always, never, debug, auto)
743827 --quiet # Silence non-primary command output
744828 --no-pager # Disable the pager
745 --config-toml: string # Additional configuration options (can be repeated)
829 --config: string # Additional configuration options (can be repeated)
830 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
831 --config-file: path # Additional configuration files (can be repeated)
746832 --help(-h) # Print help (see more with '--help')
747833 ]
749835 # Parse a template
750836 export extern "jj debug template" [
751837 template: string
752 --repository(-R): string # Path to repository to operate on
838 --repository(-R): path # Path to repository to operate on
753839 --ignore-working-copy # Don't snapshot the working copy, and don't update it
754840 --ignore-immutable # Allow rewriting immutable commits
755841 --at-operation: string # Operation to load the repo at
758844 --color: string # When to colorize output (always, never, debug, auto)
759845 --quiet # Silence non-primary command output
760846 --no-pager # Disable the pager
761 --config-toml: string # Additional configuration options (can be repeated)
847 --config: string # Additional configuration options (can be repeated)
848 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
849 --config-file: path # Additional configuration files (can be repeated)
762850 --help(-h) # Print help (see more with '--help')
763851 ]
768856 --id: string
769857 --dir: string
770858 ...paths: string
771 --repository(-R): string # Path to repository to operate on
859 --repository(-R): path # Path to repository to operate on
772860 --ignore-working-copy # Don't snapshot the working copy, and don't update it
773861 --ignore-immutable # Allow rewriting immutable commits
774862 --at-operation: string # Operation to load the repo at
777865 --color: string # When to colorize output (always, never, debug, auto)
778866 --quiet # Silence non-primary command output
779867 --no-pager # Disable the pager
780 --config-toml: string # Additional configuration options (can be repeated)
868 --config: string # Additional configuration options (can be repeated)
869 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
870 --config-file: path # Additional configuration files (can be repeated)
781871 --help(-h) # Print help (see more with '--help')
782872 ]
784874 export extern "jj debug watchman" [
785 --repository(-R): string # Path to repository to operate on
875 --repository(-R): path # Path to repository to operate on
786876 --ignore-working-copy # Don't snapshot the working copy, and don't update it
787877 --ignore-immutable # Allow rewriting immutable commits
788878 --at-operation: string # Operation to load the repo at
791881 --color: string # When to colorize output (always, never, debug, auto)
792882 --quiet # Silence non-primary command output
793883 --no-pager # Disable the pager
794 --config-toml: string # Additional configuration options (can be repeated)
884 --config: string # Additional configuration options (can be repeated)
885 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
886 --config-file: path # Additional configuration files (can be repeated)
795887 --help(-h) # Print help (see more with '--help')
796888 ]
798890 # Check whether `watchman` is enabled and whether it's correctly installed
799891 export extern "jj debug watchman status" [
800 --repository(-R): string # Path to repository to operate on
892 --repository(-R): path # Path to repository to operate on
801893 --ignore-working-copy # Don't snapshot the working copy, and don't update it
802894 --ignore-immutable # Allow rewriting immutable commits
803895 --at-operation: string # Operation to load the repo at
806898 --color: string # When to colorize output (always, never, debug, auto)
807899 --quiet # Silence non-primary command output
808900 --no-pager # Disable the pager
809 --config-toml: string # Additional configuration options (can be repeated)
901 --config: string # Additional configuration options (can be repeated)
902 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
903 --config-file: path # Additional configuration files (can be repeated)
810904 --help(-h) # Print help (see more with '--help')
811905 ]
813907 export extern "jj debug watchman query-clock" [
814 --repository(-R): string # Path to repository to operate on
908 --repository(-R): path # Path to repository to operate on
815909 --ignore-working-copy # Don't snapshot the working copy, and don't update it
816910 --ignore-immutable # Allow rewriting immutable commits
817911 --at-operation: string # Operation to load the repo at
820914 --color: string # When to colorize output (always, never, debug, auto)
821915 --quiet # Silence non-primary command output
822916 --no-pager # Disable the pager
823 --config-toml: string # Additional configuration options (can be repeated)
917 --config: string # Additional configuration options (can be repeated)
918 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
919 --config-file: path # Additional configuration files (can be repeated)
824920 --help(-h) # Print help (see more with '--help')
825921 ]
827923 export extern "jj debug watchman query-changed-files" [
828 --repository(-R): string # Path to repository to operate on
924 --repository(-R): path # Path to repository to operate on
829925 --ignore-working-copy # Don't snapshot the working copy, and don't update it
830926 --ignore-immutable # Allow rewriting immutable commits
831927 --at-operation: string # Operation to load the repo at
834930 --color: string # When to colorize output (always, never, debug, auto)
835931 --quiet # Silence non-primary command output
836932 --no-pager # Disable the pager
837 --config-toml: string # Additional configuration options (can be repeated)
933 --config: string # Additional configuration options (can be repeated)
934 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
935 --config-file: path # Additional configuration files (can be repeated)
838936 --help(-h) # Print help (see more with '--help')
839937 ]
841939 export extern "jj debug watchman reset-clock" [
842 --repository(-R): string # Path to repository to operate on
940 --repository(-R): path # Path to repository to operate on
843941 --ignore-working-copy # Don't snapshot the working copy, and don't update it
844942 --ignore-immutable # Allow rewriting immutable commits
845943 --at-operation: string # Operation to load the repo at
848946 --color: string # When to colorize output (always, never, debug, auto)
849947 --quiet # Silence non-primary command output
850948 --no-pager # Disable the pager
851 --config-toml: string # Additional configuration options (can be repeated)
949 --config: string # Additional configuration options (can be repeated)
950 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
951 --config-file: path # Additional configuration files (can be repeated)
852952 --help(-h) # Print help (see more with '--help')
853953 ]
855955 # Show information about the working copy state
856956 export extern "jj debug working-copy" [
857 --repository(-R): string # Path to repository to operate on
957 --repository(-R): path # Path to repository to operate on
858958 --ignore-working-copy # Don't snapshot the working copy, and don't update it
859959 --ignore-immutable # Allow rewriting immutable commits
860960 --at-operation: string # Operation to load the repo at
863963 --color: string # When to colorize output (always, never, debug, auto)
864964 --quiet # Silence non-primary command output
865965 --no-pager # Disable the pager
866 --config-toml: string # Additional configuration options (can be repeated)
966 --config: string # Additional configuration options (can be repeated)
967 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
968 --config-file: path # Additional configuration files (can be repeated)
867969 --help(-h) # Print help (see more with '--help')
868970 ]
870972 # Update the change description or other metadata
871973 export extern "jj describe" [
872 ...revisions: string # The revision(s) whose description to edit
873 -r # Ignored (but lets you pass `-r` for consistency with other commands)
974 ...revisions_pos: string # The revision(s) whose description to edit (default: @)
975 -r: string
874976 --message(-m): string # The change description to use (don't open editor)
875977 --stdin # Read the change description from stdin
876978 --no-edit # Don't open an editor
877979 --reset-author # Reset the author to the configured user
878980 --author: string # Set author to the provided string
879 --repository(-R): string # Path to repository to operate on
981 --repository(-R): path # Path to repository to operate on
880982 --ignore-working-copy # Don't snapshot the working copy, and don't update it
881983 --ignore-immutable # Allow rewriting immutable commits
882984 --at-operation: string # Operation to load the repo at
885987 --color: string # When to colorize output (always, never, debug, auto)
886988 --quiet # Silence non-primary command output
887989 --no-pager # Disable the pager
888 --config-toml: string # Additional configuration options (can be repeated)
990 --config: string # Additional configuration options (can be repeated)
991 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
992 --config-file: path # Additional configuration files (can be repeated)
889993 --help(-h) # Print help (see more with '--help')
890994 ]
894998 --revision(-r): string # Show changes in this revision, compared to its parent(s)
895999 --from(-f): string # Show changes from this revision
8961000 --to(-t): string # Show changes to this revision
897 ...paths: string # Restrict the diff to these paths
1001 ...paths: path # Restrict the diff to these paths
8981002 --summary(-s) # For each path, show only whether it was modified, added, or deleted
8991003 --stat # Show a histogram of the changes
9001004 --types # For each path, show only its type before and after
9051009 --context: string # Number of lines of context to show
9061010 --ignore-all-space(-w) # Ignore whitespace when comparing lines
9071011 --ignore-space-change(-b) # Ignore changes in amount of whitespace when comparing lines
908 --repository(-R): string # Path to repository to operate on
1012 --repository(-R): path # Path to repository to operate on
9091013 --ignore-working-copy # Don't snapshot the working copy, and don't update it
9101014 --ignore-immutable # Allow rewriting immutable commits
9111015 --at-operation: string # Operation to load the repo at
9141018 --color: string # When to colorize output (always, never, debug, auto)
9151019 --quiet # Silence non-primary command output
9161020 --no-pager # Disable the pager
917 --config-toml: string # Additional configuration options (can be repeated)
1021 --config: string # Additional configuration options (can be repeated)
1022 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1023 --config-file: path # Additional configuration files (can be repeated)
9181024 --help(-h) # Print help (see more with '--help')
9251031 --to(-t): string # Edit changes in this revision
9261032 --tool: string # Specify diff editor to be used
9271033 --restore-descendants # Preserve the content (not the diff) when rebasing descendants
928 --repository(-R): string # Path to repository to operate on
1034 --repository(-R): path # Path to repository to operate on
9291035 --ignore-working-copy # Don't snapshot the working copy, and don't update it
9301036 --ignore-immutable # Allow rewriting immutable commits
9311037 --at-operation: string # Operation to load the repo at
9341040 --color: string # When to colorize output (always, never, debug, auto)
9351041 --quiet # Silence non-primary command output
9361042 --no-pager # Disable the pager
937 --config-toml: string # Additional configuration options (can be repeated)
1043 --config: string # Additional configuration options (can be repeated)
1044 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1045 --config-file: path # Additional configuration files (can be repeated)
9381046 --help(-h) # Print help (see more with '--help')
9471055 --after: string # The revision(s) to insert after (can be repeated to create a merge commit)
9481056 --insert-before(-B): string # The revision(s) to insert before (can be repeated to create a merge commit)
9491057 --before: string # The revision(s) to insert before (can be repeated to create a merge commit)
950 --repository(-R): string # Path to repository to operate on
1058 --repository(-R): path # Path to repository to operate on
9511059 --ignore-working-copy # Don't snapshot the working copy, and don't update it
9521060 --ignore-immutable # Allow rewriting immutable commits
9531061 --at-operation: string # Operation to load the repo at
9561064 --color: string # When to colorize output (always, never, debug, auto)
9571065 --quiet # Silence non-primary command output
9581066 --no-pager # Disable the pager
959 --config-toml: string # Additional configuration options (can be repeated)
1067 --config: string # Additional configuration options (can be repeated)
1068 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1069 --config-file: path # Additional configuration files (can be repeated)
9601070 --help(-h) # Print help (see more with '--help')
9641074 export extern "jj edit" [
9651075 revision: string # The commit to edit
9661076 -r # Ignored (but lets you pass `-r` for consistency with other commands)
967 --repository(-R): string # Path to repository to operate on
1077 --repository(-R): path # Path to repository to operate on
9681078 --ignore-working-copy # Don't snapshot the working copy, and don't update it
9691079 --ignore-immutable # Allow rewriting immutable commits
9701080 --at-operation: string # Operation to load the repo at
9731083 --color: string # When to colorize output (always, never, debug, auto)
9741084 --quiet # Silence non-primary command output
9751085 --no-pager # Disable the pager
976 --config-toml: string # Additional configuration options (can be repeated)
1086 --config: string # Additional configuration options (can be repeated)
1087 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1088 --config-file: path # Additional configuration files (can be repeated)
9771089 --help(-h) # Print help (see more with '--help')
9951107 --context: string # Number of lines of context to show
9961108 --ignore-all-space # Ignore whitespace when comparing lines
9971109 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
998 --repository(-R): string # Path to repository to operate on
1110 --repository(-R): path # Path to repository to operate on
9991111 --ignore-working-copy # Don't snapshot the working copy, and don't update it
10001112 --ignore-immutable # Allow rewriting immutable commits
10011113 --at-operation: string # Operation to load the repo at
10041116 --color: string # When to colorize output (always, never, debug, auto)
10051117 --quiet # Silence non-primary command output
10061118 --no-pager # Disable the pager
1007 --config-toml: string # Additional configuration options (can be repeated)
1119 --config: string # Additional configuration options (can be repeated)
1120 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1121 --config-file: path # Additional configuration files (can be repeated)
10081122 --help(-h) # Print help (see more with '--help')
10111125 # File operations
10121126 export extern "jj file" [
1013 --repository(-R): string # Path to repository to operate on
1127 --repository(-R): path # Path to repository to operate on
10141128 --ignore-working-copy # Don't snapshot the working copy, and don't update it
10151129 --ignore-immutable # Allow rewriting immutable commits
10161130 --at-operation: string # Operation to load the repo at
10191133 --color: string # When to colorize output (always, never, debug, auto)
10201134 --quiet # Silence non-primary command output
10211135 --no-pager # Disable the pager
1022 --config-toml: string # Additional configuration options (can be repeated)
1136 --config: string # Additional configuration options (can be repeated)
1137 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1138 --config-file: path # Additional configuration files (can be repeated)
10231139 --help(-h) # Print help (see more with '--help')
10261142 # Show the source change for each line of the target file
10271143 export extern "jj file annotate" [
1028 path: string # the file to annotate
1144 path: path # the file to annotate
10291145 --revision(-r): string # an optional revision to start at
1030 --repository(-R): string # Path to repository to operate on
1146 --repository(-R): path # Path to repository to operate on
10311147 --ignore-working-copy # Don't snapshot the working copy, and don't update it
10321148 --ignore-immutable # Allow rewriting immutable commits
10331149 --at-operation: string # Operation to load the repo at
10361152 --color: string # When to colorize output (always, never, debug, auto)
10371153 --quiet # Silence non-primary command output
10381154 --no-pager # Disable the pager
1039 --config-toml: string # Additional configuration options (can be repeated)
1155 --config: string # Additional configuration options (can be repeated)
1156 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1157 --config-file: path # Additional configuration files (can be repeated)
10401158 --help(-h) # Print help (see more with '--help')
10481166 export extern "jj file chmod" [
10491167 mode: string@"nu-complete jj file chmod mode"
10501168 --revision(-r): string # The revision to update
1051 ...paths: string # Paths to change the executable bit for
1052 --repository(-R): string # Path to repository to operate on
1169 ...paths: path # Paths to change the executable bit for
1170 --repository(-R): path # Path to repository to operate on
10531171 --ignore-working-copy # Don't snapshot the working copy, and don't update it
10541172 --ignore-immutable # Allow rewriting immutable commits
10551173 --at-operation: string # Operation to load the repo at
10581176 --color: string # When to colorize output (always, never, debug, auto)
10591177 --quiet # Silence non-primary command output
10601178 --no-pager # Disable the pager
1061 --config-toml: string # Additional configuration options (can be repeated)
1179 --config: string # Additional configuration options (can be repeated)
1180 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1181 --config-file: path # Additional configuration files (can be repeated)
10621182 --help(-h) # Print help (see more with '--help')
10651185 # List files in a revision
10661186 export extern "jj file list" [
10671187 --revision(-r): string # The revision to list files in
1068 ...paths: string # Only list files matching these prefixes (instead of all files)
1069 --repository(-R): string # Path to repository to operate on
1188 ...paths: path # Only list files matching these prefixes (instead of all files)
1189 --repository(-R): path # Path to repository to operate on
10701190 --ignore-working-copy # Don't snapshot the working copy, and don't update it
10711191 --ignore-immutable # Allow rewriting immutable commits
10721192 --at-operation: string # Operation to load the repo at
10751195 --color: string # When to colorize output (always, never, debug, auto)
10761196 --quiet # Silence non-primary command output
10771197 --no-pager # Disable the pager
1078 --config-toml: string # Additional configuration options (can be repeated)
1198 --config: string # Additional configuration options (can be repeated)
1199 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1200 --config-file: path # Additional configuration files (can be repeated)
10791201 --help(-h) # Print help (see more with '--help')
10821204 # Print contents of files in a revision
10831205 export extern "jj file show" [
10841206 --revision(-r): string # The revision to get the file contents from
1085 ...paths: string # Paths to print
1086 --repository(-R): string # Path to repository to operate on
1207 ...paths: path # Paths to print
1208 --repository(-R): path # Path to repository to operate on
10871209 --ignore-working-copy # Don't snapshot the working copy, and don't update it
10881210 --ignore-immutable # Allow rewriting immutable commits
10891211 --at-operation: string # Operation to load the repo at
10921214 --color: string # When to colorize output (always, never, debug, auto)
10931215 --quiet # Silence non-primary command output
10941216 --no-pager # Disable the pager
1095 --config-toml: string # Additional configuration options (can be repeated)
1217 --config: string # Additional configuration options (can be repeated)
1218 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1219 --config-file: path # Additional configuration files (can be repeated)
10961220 --help(-h) # Print help (see more with '--help')
10991223 # Start tracking specified paths in the working copy
11001224 export extern "jj file track" [
1101 ...paths: string # Paths to track
1102 --repository(-R): string # Path to repository to operate on
1225 ...paths: path # Paths to track
1226 --repository(-R): path # Path to repository to operate on
11031227 --ignore-working-copy # Don't snapshot the working copy, and don't update it
11041228 --ignore-immutable # Allow rewriting immutable commits
11051229 --at-operation: string # Operation to load the repo at
11081232 --color: string # When to colorize output (always, never, debug, auto)
11091233 --quiet # Silence non-primary command output
11101234 --no-pager # Disable the pager
1111 --config-toml: string # Additional configuration options (can be repeated)
1235 --config: string # Additional configuration options (can be repeated)
1236 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1237 --config-file: path # Additional configuration files (can be repeated)
11121238 --help(-h) # Print help (see more with '--help')
11151241 # Stop tracking specified paths in the working copy
11161242 export extern "jj file untrack" [
1117 ...paths: string # Paths to untrack. They must already be ignored
1118 --repository(-R): string # Path to repository to operate on
1243 ...paths: path # Paths to untrack. They must already be ignored
1244 --repository(-R): path # Path to repository to operate on
11191245 --ignore-working-copy # Don't snapshot the working copy, and don't update it
11201246 --ignore-immutable # Allow rewriting immutable commits
11211247 --at-operation: string # Operation to load the repo at
11241250 --color: string # When to colorize output (always, never, debug, auto)
11251251 --quiet # Silence non-primary command output
11261252 --no-pager # Disable the pager
1127 --config-toml: string # Additional configuration options (can be repeated)
1253 --config: string # Additional configuration options (can be repeated)
1254 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1255 --config-file: path # Additional configuration files (can be repeated)
11281256 --help(-h) # Print help (see more with '--help')
11311259 # List files in a revision (DEPRECATED use `jj file list`)
11321260 export extern "jj files" [
11331261 --revision(-r): string # The revision to list files in
1134 ...paths: string # Only list files matching these prefixes (instead of all files)
1135 --repository(-R): string # Path to repository to operate on
1262 ...paths: path # Only list files matching these prefixes (instead of all files)
1263 --repository(-R): path # Path to repository to operate on
11361264 --ignore-working-copy # Don't snapshot the working copy, and don't update it
11371265 --ignore-immutable # Allow rewriting immutable commits
11381266 --at-operation: string # Operation to load the repo at
11411269 --color: string # When to colorize output (always, never, debug, auto)
11421270 --quiet # Silence non-primary command output
11431271 --no-pager # Disable the pager
1144 --config-toml: string # Additional configuration options (can be repeated)
1272 --config: string # Additional configuration options (can be repeated)
1273 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1274 --config-file: path # Additional configuration files (can be repeated)
11451275 --help(-h) # Print help (see more with '--help')
11481278 # Update files with formatting fixes or other changes
11491279 export extern "jj fix" [
11501280 --source(-s): string # Fix files in the specified revision(s) and their descendants. If no revisions are specified, this defaults to the `revsets.fix` setting, or `reachable(@, mutable())` if it is not set
1151 ...paths: string # Fix only these paths
1281 ...paths: path # Fix only these paths
11521282 --include-unchanged-files # Fix unchanged files in addition to changed ones. If no paths are specified, all files in the repo will be fixed
1153 --repository(-R): string # Path to repository to operate on
1283 --repository(-R): path # Path to repository to operate on
11541284 --ignore-working-copy # Don't snapshot the working copy, and don't update it
11551285 --ignore-immutable # Allow rewriting immutable commits
11561286 --at-operation: string # Operation to load the repo at
11591289 --color: string # When to colorize output (always, never, debug, auto)
11601290 --quiet # Silence non-primary command output
11611291 --no-pager # Disable the pager
1162 --config-toml: string # Additional configuration options (can be repeated)
1292 --config: string # Additional configuration options (can be repeated)
1293 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1294 --config-file: path # Additional configuration files (can be repeated)
11631295 --help(-h) # Print help (see more with '--help')
11661298 # Commands for working with Git remotes and the underlying Git repo
11671299 export extern "jj git" [
1168 --repository(-R): string # Path to repository to operate on
1300 --repository(-R): path # Path to repository to operate on
11691301 --ignore-working-copy # Don't snapshot the working copy, and don't update it
11701302 --ignore-immutable # Allow rewriting immutable commits
11711303 --at-operation: string # Operation to load the repo at
11741306 --color: string # When to colorize output (always, never, debug, auto)
11751307 --quiet # Silence non-primary command output
11761308 --no-pager # Disable the pager
1177 --config-toml: string # Additional configuration options (can be repeated)
1309 --config: string # Additional configuration options (can be repeated)
1310 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1311 --config-file: path # Additional configuration files (can be repeated)
11781312 --help(-h) # Print help (see more with '--help')
11811315 # Create a new repo backed by a clone of a Git repo
11821316 export extern "jj git clone" [
1183 source: string # URL or path of the Git repo to clone
1184 destination?: string # Specifies the target directory for the Jujutsu repository clone. If not provided, defaults to a directory named after the last component of the source URL. The full directory path will be created if it doesn't exist
1317 source: path # URL or path of the Git repo to clone
1318 destination?: path # Specifies the target directory for the Jujutsu repository clone. If not provided, defaults to a directory named after the last component of the source URL. The full directory path will be created if it doesn't exist
11851319 --remote: string # Name of the newly created remote
11861320 --colocate # Whether or not to colocate the Jujutsu repo with the git repo
11871321 --depth: string # Create a shallow clone of the given depth
1188 --repository(-R): string # Path to repository to operate on
1322 --repository(-R): path # Path to repository to operate on
11891323 --ignore-working-copy # Don't snapshot the working copy, and don't update it
11901324 --ignore-immutable # Allow rewriting immutable commits
11911325 --at-operation: string # Operation to load the repo at
11941328 --color: string # When to colorize output (always, never, debug, auto)
11951329 --quiet # Silence non-primary command output
11961330 --no-pager # Disable the pager
1197 --config-toml: string # Additional configuration options (can be repeated)
1331 --config: string # Additional configuration options (can be repeated)
1332 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1333 --config-file: path # Additional configuration files (can be repeated)
11981334 --help(-h) # Print help (see more with '--help')
12011337 # Update the underlying Git repo with changes made in the repo
12021338 export extern "jj git export" [
1203 --repository(-R): string # Path to repository to operate on
1339 --repository(-R): path # Path to repository to operate on
12041340 --ignore-working-copy # Don't snapshot the working copy, and don't update it
12051341 --ignore-immutable # Allow rewriting immutable commits
12061342 --at-operation: string # Operation to load the repo at
12091345 --color: string # When to colorize output (always, never, debug, auto)
12101346 --quiet # Silence non-primary command output
12111347 --no-pager # Disable the pager
1212 --config-toml: string # Additional configuration options (can be repeated)
1348 --config: string # Additional configuration options (can be repeated)
1349 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1350 --config-file: path # Additional configuration files (can be repeated)
12131351 --help(-h) # Print help (see more with '--help')
12181356 --branch(-b): string # Fetch only some of the branches
12191357 --remote: string # The remote to fetch from (only named remotes are supported, can be repeated)
12201358 --all-remotes # Fetch from all remotes
1221 --repository(-R): string # Path to repository to operate on
1359 --repository(-R): path # Path to repository to operate on
12221360 --ignore-working-copy # Don't snapshot the working copy, and don't update it
12231361 --ignore-immutable # Allow rewriting immutable commits
12241362 --at-operation: string # Operation to load the repo at
12271365 --color: string # When to colorize output (always, never, debug, auto)
12281366 --quiet # Silence non-primary command output
12291367 --no-pager # Disable the pager
1230 --config-toml: string # Additional configuration options (can be repeated)
1368 --config: string # Additional configuration options (can be repeated)
1369 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1370 --config-file: path # Additional configuration files (can be repeated)
12311371 --help(-h) # Print help (see more with '--help')
12341374 # Update repo with changes made in the underlying Git repo
12351375 export extern "jj git import" [
1236 --repository(-R): string # Path to repository to operate on
1376 --repository(-R): path # Path to repository to operate on
12371377 --ignore-working-copy # Don't snapshot the working copy, and don't update it
12381378 --ignore-immutable # Allow rewriting immutable commits
12391379 --at-operation: string # Operation to load the repo at
12421382 --color: string # When to colorize output (always, never, debug, auto)
12431383 --quiet # Silence non-primary command output
12441384 --no-pager # Disable the pager
1245 --config-toml: string # Additional configuration options (can be repeated)
1385 --config: string # Additional configuration options (can be repeated)
1386 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1387 --config-file: path # Additional configuration files (can be repeated)
12461388 --help(-h) # Print help (see more with '--help')
12491391 # Create a new Git backed repo
12501392 export extern "jj git init" [
1251 destination?: string # The destination directory where the `jj` repo will be created. If the directory does not exist, it will be created. If no directory is given, the current directory is used
1393 destination?: path # The destination directory where the `jj` repo will be created. If the directory does not exist, it will be created. If no directory is given, the current directory is used
12521394 --colocate # Specifies that the `jj` repo should also be a valid `git` repo, allowing the use of both `jj` and `git` commands in the same directory
1253 --git-repo: string # Specifies a path to an **existing** git repository to be used as the backing git repo for the newly created `jj` repo
1254 --repository(-R): string # Path to repository to operate on
1395 --git-repo: path # Specifies a path to an **existing** git repository to be used as the backing git repo for the newly created `jj` repo
1396 --repository(-R): path # Path to repository to operate on
12551397 --ignore-working-copy # Don't snapshot the working copy, and don't update it
12561398 --ignore-immutable # Allow rewriting immutable commits
12571399 --at-operation: string # Operation to load the repo at
12601402 --color: string # When to colorize output (always, never, debug, auto)
12611403 --quiet # Silence non-primary command output
12621404 --no-pager # Disable the pager
1263 --config-toml: string # Additional configuration options (can be repeated)
1405 --config: string # Additional configuration options (can be repeated)
1406 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1407 --config-file: path # Additional configuration files (can be repeated)
12641408 --help(-h) # Print help (see more with '--help')
12771421 --revisions(-r): string # Push bookmarks pointing to these commits (can be repeated)
12781422 --change(-c): string # Push this commit by creating a bookmark based on its change ID (can be repeated)
12791423 --dry-run # Only display what will change on the remote
1280 --repository(-R): string # Path to repository to operate on
1424 --repository(-R): path # Path to repository to operate on
12811425 --ignore-working-copy # Don't snapshot the working copy, and don't update it
12821426 --ignore-immutable # Allow rewriting immutable commits
12831427 --at-operation: string # Operation to load the repo at
12861430 --color: string # When to colorize output (always, never, debug, auto)
12871431 --quiet # Silence non-primary command output
12881432 --no-pager # Disable the pager
1289 --config-toml: string # Additional configuration options (can be repeated)
1433 --config: string # Additional configuration options (can be repeated)
1434 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1435 --config-file: path # Additional configuration files (can be repeated)
12901436 --help(-h) # Print help (see more with '--help')
12931439 # Manage Git remotes
12941440 export extern "jj git remote" [
1295 --repository(-R): string # Path to repository to operate on
1441 --repository(-R): path # Path to repository to operate on
12961442 --ignore-working-copy # Don't snapshot the working copy, and don't update it
12971443 --ignore-immutable # Allow rewriting immutable commits
12981444 --at-operation: string # Operation to load the repo at
13011447 --color: string # When to colorize output (always, never, debug, auto)
13021448 --quiet # Silence non-primary command output
13031449 --no-pager # Disable the pager
1304 --config-toml: string # Additional configuration options (can be repeated)
1450 --config: string # Additional configuration options (can be repeated)
1451 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1452 --config-file: path # Additional configuration files (can be repeated)
13051453 --help(-h) # Print help (see more with '--help')
13091457 export extern "jj git remote add" [
13101458 remote: string # The remote's name
13111459 url: string # The remote's URL
1312 --repository(-R): string # Path to repository to operate on
1460 --repository(-R): path # Path to repository to operate on
13131461 --ignore-working-copy # Don't snapshot the working copy, and don't update it
13141462 --ignore-immutable # Allow rewriting immutable commits
13151463 --at-operation: string # Operation to load the repo at
13181466 --color: string # When to colorize output (always, never, debug, auto)
13191467 --quiet # Silence non-primary command output
13201468 --no-pager # Disable the pager
1321 --config-toml: string # Additional configuration options (can be repeated)
1469 --config: string # Additional configuration options (can be repeated)
1470 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1471 --config-file: path # Additional configuration files (can be repeated)
13221472 --help(-h) # Print help (see more with '--help')
13251475 # List Git remotes
13261476 export extern "jj git remote list" [
1327 --repository(-R): string # Path to repository to operate on
1477 --repository(-R): path # Path to repository to operate on
13281478 --ignore-working-copy # Don't snapshot the working copy, and don't update it
13291479 --ignore-immutable # Allow rewriting immutable commits
13301480 --at-operation: string # Operation to load the repo at
13331483 --color: string # When to colorize output (always, never, debug, auto)
13341484 --quiet # Silence non-primary command output
13351485 --no-pager # Disable the pager
1336 --config-toml: string # Additional configuration options (can be repeated)
1486 --config: string # Additional configuration options (can be repeated)
1487 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1488 --config-file: path # Additional configuration files (can be repeated)
13371489 --help(-h) # Print help (see more with '--help')
13401492 # Remove a Git remote and forget its bookmarks
13411493 export extern "jj git remote remove" [
13421494 remote: string # The remote's name
1343 --repository(-R): string # Path to repository to operate on
1495 --repository(-R): path # Path to repository to operate on
13441496 --ignore-working-copy # Don't snapshot the working copy, and don't update it
13451497 --ignore-immutable # Allow rewriting immutable commits
13461498 --at-operation: string # Operation to load the repo at
13491501 --color: string # When to colorize output (always, never, debug, auto)
13501502 --quiet # Silence non-primary command output
13511503 --no-pager # Disable the pager
1352 --config-toml: string # Additional configuration options (can be repeated)
1504 --config: string # Additional configuration options (can be repeated)
1505 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1506 --config-file: path # Additional configuration files (can be repeated)
13531507 --help(-h) # Print help (see more with '--help')
13571511 export extern "jj git remote rename" [
13581512 old: string # The name of an existing remote
13591513 new: string # The desired name for `old`
1360 --repository(-R): string # Path to repository to operate on
1514 --repository(-R): path # Path to repository to operate on
13611515 --ignore-working-copy # Don't snapshot the working copy, and don't update it
13621516 --ignore-immutable # Allow rewriting immutable commits
13631517 --at-operation: string # Operation to load the repo at
13661520 --color: string # When to colorize output (always, never, debug, auto)
13671521 --quiet # Silence non-primary command output
13681522 --no-pager # Disable the pager
1369 --config-toml: string # Additional configuration options (can be repeated)
1523 --config: string # Additional configuration options (can be repeated)
1524 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1525 --config-file: path # Additional configuration files (can be repeated)
13701526 --help(-h) # Print help (see more with '--help')
13741530 export extern "jj git remote set-url" [
13751531 remote: string # The remote's name
13761532 url: string # The desired url for `remote`
1377 --repository(-R): string # Path to repository to operate on
1533 --repository(-R): path # Path to repository to operate on
13781534 --ignore-working-copy # Don't snapshot the working copy, and don't update it
13791535 --ignore-immutable # Allow rewriting immutable commits
13801536 --at-operation: string # Operation to load the repo at
13831539 --color: string # When to colorize output (always, never, debug, auto)
13841540 --quiet # Silence non-primary command output
13851541 --no-pager # Disable the pager
1386 --config-toml: string # Additional configuration options (can be repeated)
1542 --config: string # Additional configuration options (can be repeated)
1543 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1544 --config-file: path # Additional configuration files (can be repeated)
13871545 --help(-h) # Print help (see more with '--help')
13901548 # FOR INTERNAL USE ONLY Interact with git submodules
13911549 export extern "jj git submodule" [
1392 --repository(-R): string # Path to repository to operate on
1550 --repository(-R): path # Path to repository to operate on
13931551 --ignore-working-copy # Don't snapshot the working copy, and don't update it
13941552 --ignore-immutable # Allow rewriting immutable commits
13951553 --at-operation: string # Operation to load the repo at
13981556 --color: string # When to colorize output (always, never, debug, auto)
13991557 --quiet # Silence non-primary command output
14001558 --no-pager # Disable the pager
1401 --config-toml: string # Additional configuration options (can be repeated)
1559 --config: string # Additional configuration options (can be repeated)
1560 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1561 --config-file: path # Additional configuration files (can be repeated)
14021562 --help(-h) # Print help (see more with '--help')
14051565 # Print the relevant contents from .gitmodules. For debugging purposes only
14061566 export extern "jj git submodule print-gitmodules" [
14071567 --revisions(-r): string # Read .gitmodules from the given revision
1408 --repository(-R): string # Path to repository to operate on
1568 --repository(-R): path # Path to repository to operate on
14091569 --ignore-working-copy # Don't snapshot the working copy, and don't update it
14101570 --ignore-immutable # Allow rewriting immutable commits
14111571 --at-operation: string # Operation to load the repo at
14141574 --color: string # When to colorize output (always, never, debug, auto)
14151575 --quiet # Silence non-primary command output
14161576 --no-pager # Disable the pager
1417 --config-toml: string # Additional configuration options (can be repeated)
1577 --config: string # Additional configuration options (can be repeated)
1578 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1579 --config-file: path # Additional configuration files (can be repeated)
14181580 --help(-h) # Print help (see more with '--help')
14211583 def "nu-complete jj help keyword" [] {
1422 [ "revsets" "tutorial" ]
1584 [ "bookmarks" "config" "filesets" "glossary" "revsets" "templates" "tutorial" ]
14251587 # Print this message or the help of the given subcommand(s)
14261588 export extern "jj help" [
14271589 ...command: string # Print help for the subcommand(s)
14281590 --keyword(-k): string@"nu-complete jj help keyword" # Show help for keywords instead of commands
1429 --repository(-R): string # Path to repository to operate on
1591 --repository(-R): path # Path to repository to operate on
14301592 --ignore-working-copy # Don't snapshot the working copy, and don't update it
14311593 --ignore-immutable # Allow rewriting immutable commits
14321594 --at-operation: string # Operation to load the repo at
14351597 --color: string # When to colorize output (always, never, debug, auto)
14361598 --quiet # Silence non-primary command output
14371599 --no-pager # Disable the pager
1438 --config-toml: string # Additional configuration options (can be repeated)
1600 --config: string # Additional configuration options (can be repeated)
1601 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1602 --config-file: path # Additional configuration files (can be repeated)
14391603 --help(-h) # Print help (see more with '--help')
14421606 # Create a new repo in the given directory
14431607 export extern "jj init" [
1444 destination?: string # The destination directory
1608 destination?: path # The destination directory
14451609 --git # DEPRECATED: Use `jj git init` Use the Git backend, creating a jj repo backed by a Git repo
1446 --git-repo: string # DEPRECATED: Use `jj git init` Path to a git repo the jj repo will be backed by
1447 --repository(-R): string # Path to repository to operate on
1610 --git-repo: path # DEPRECATED: Use `jj git init` Path to a git repo the jj repo will be backed by
1611 --repository(-R): path # Path to repository to operate on
14481612 --ignore-working-copy # Don't snapshot the working copy, and don't update it
14491613 --ignore-immutable # Allow rewriting immutable commits
14501614 --at-operation: string # Operation to load the repo at
14531617 --color: string # When to colorize output (always, never, debug, auto)
14541618 --quiet # Silence non-primary command output
14551619 --no-pager # Disable the pager
1456 --config-toml: string # Additional configuration options (can be repeated)
1620 --config: string # Additional configuration options (can be repeated)
1621 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1622 --config-file: path # Additional configuration files (can be repeated)
14571623 --help(-h) # Print help (see more with '--help')
14611627 export extern "jj interdiff" [
14621628 --from(-f): string # Show changes from this revision
14631629 --to(-t): string # Show changes to this revision
1464 ...paths: string # Restrict the diff to these paths
1630 ...paths: path # Restrict the diff to these paths
14651631 --summary(-s) # For each path, show only whether it was modified, added, or deleted
14661632 --stat # Show a histogram of the changes
14671633 --types # For each path, show only its type before and after
14721638 --context: string # Number of lines of context to show
14731639 --ignore-all-space(-w) # Ignore whitespace when comparing lines
14741640 --ignore-space-change(-b) # Ignore changes in amount of whitespace when comparing lines
1475 --repository(-R): string # Path to repository to operate on
1641 --repository(-R): path # Path to repository to operate on
14761642 --ignore-working-copy # Don't snapshot the working copy, and don't update it
14771643 --ignore-immutable # Allow rewriting immutable commits
14781644 --at-operation: string # Operation to load the repo at
14811647 --color: string # When to colorize output (always, never, debug, auto)
14821648 --quiet # Silence non-primary command output
14831649 --no-pager # Disable the pager
1484 --config-toml: string # Additional configuration options (can be repeated)
1650 --config: string # Additional configuration options (can be repeated)
1651 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1652 --config-file: path # Additional configuration files (can be repeated)
14851653 --help(-h) # Print help (see more with '--help')
14881656 # Show revision history
14891657 export extern "jj log" [
14901658 --revisions(-r): string # Which revisions to show
1491 ...paths: string # Show revisions modifying the given paths
1659 ...paths: path # Show revisions modifying the given paths
14921660 --reversed # Show revisions in the opposite order (older revisions first)
14931661 --limit(-n): string # Limit number of revisions to show
14941662 -l: string
15051673 --context: string # Number of lines of context to show
15061674 --ignore-all-space # Ignore whitespace when comparing lines
15071675 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1508 --repository(-R): string # Path to repository to operate on
1676 --repository(-R): path # Path to repository to operate on
15091677 --ignore-working-copy # Don't snapshot the working copy, and don't update it
15101678 --ignore-immutable # Allow rewriting immutable commits
15111679 --at-operation: string # Operation to load the repo at
15141682 --color: string # When to colorize output (always, never, debug, auto)
15151683 --quiet # Silence non-primary command output
15161684 --no-pager # Disable the pager
1517 --config-toml: string # Additional configuration options (can be repeated)
1685 --config: string # Additional configuration options (can be repeated)
1686 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1687 --config-file: path # Additional configuration files (can be repeated)
15181688 --help(-h) # Print help (see more with '--help')
15291699 --after: string # Insert the new change after the given commit(s)
15301700 --insert-before(-B): string # Insert the new change before the given commit(s)
15311701 --before: string # Insert the new change before the given commit(s)
1532 --repository(-R): string # Path to repository to operate on
1702 --repository(-R): path # Path to repository to operate on
15331703 --ignore-working-copy # Don't snapshot the working copy, and don't update it
15341704 --ignore-immutable # Allow rewriting immutable commits
15351705 --at-operation: string # Operation to load the repo at
15381708 --color: string # When to colorize output (always, never, debug, auto)
15391709 --quiet # Silence non-primary command output
15401710 --no-pager # Disable the pager
1541 --config-toml: string # Additional configuration options (can be repeated)
1711 --config: string # Additional configuration options (can be repeated)
1712 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1713 --config-file: path # Additional configuration files (can be repeated)
15421714 --help(-h) # Print help (see more with '--help')
15481720 --edit(-e) # Instead of creating a new working-copy commit on top of the target commit (like `jj new`), edit the target commit directly (like `jj edit`)
15491721 --no-edit(-n) # The inverse of `--edit`
15501722 --conflict # Jump to the next conflicted descendant
1551 --repository(-R): string # Path to repository to operate on
1723 --repository(-R): path # Path to repository to operate on
15521724 --ignore-working-copy # Don't snapshot the working copy, and don't update it
15531725 --ignore-immutable # Allow rewriting immutable commits
15541726 --at-operation: string # Operation to load the repo at
15571729 --color: string # When to colorize output (always, never, debug, auto)
15581730 --quiet # Silence non-primary command output
15591731 --no-pager # Disable the pager
1560 --config-toml: string # Additional configuration options (can be repeated)
1732 --config: string # Additional configuration options (can be repeated)
1733 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1734 --config-file: path # Additional configuration files (can be repeated)
15611735 --help(-h) # Print help (see more with '--help')
15641738 # Commands for working with the operation log
15651739 export extern "jj operation" [
1566 --repository(-R): string # Path to repository to operate on
1740 --repository(-R): path # Path to repository to operate on
15671741 --ignore-working-copy # Don't snapshot the working copy, and don't update it
15681742 --ignore-immutable # Allow rewriting immutable commits
15691743 --at-operation: string # Operation to load the repo at
15721746 --color: string # When to colorize output (always, never, debug, auto)
15731747 --quiet # Silence non-primary command output
15741748 --no-pager # Disable the pager
1575 --config-toml: string # Additional configuration options (can be repeated)
1749 --config: string # Additional configuration options (can be repeated)
1750 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1751 --config-file: path # Additional configuration files (can be repeated)
15761752 --help(-h) # Print help (see more with '--help')
15791755 # Abandon operation history
15801756 export extern "jj operation abandon" [
15811757 operation: string # The operation or operation range to abandon
1582 --repository(-R): string # Path to repository to operate on
1758 --repository(-R): path # Path to repository to operate on
15831759 --ignore-working-copy # Don't snapshot the working copy, and don't update it
15841760 --ignore-immutable # Allow rewriting immutable commits
15851761 --at-operation: string # Operation to load the repo at
15881764 --color: string # When to colorize output (always, never, debug, auto)
15891765 --quiet # Silence non-primary command output
15901766 --no-pager # Disable the pager
1591 --config-toml: string # Additional configuration options (can be repeated)
1767 --config: string # Additional configuration options (can be repeated)
1768 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1769 --config-file: path # Additional configuration files (can be repeated)
15921770 --help(-h) # Print help (see more with '--help')
16101788 --context: string # Number of lines of context to show
16111789 --ignore-all-space # Ignore whitespace when comparing lines
16121790 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1613 --repository(-R): string # Path to repository to operate on
1791 --repository(-R): path # Path to repository to operate on
16141792 --ignore-working-copy # Don't snapshot the working copy, and don't update it
16151793 --ignore-immutable # Allow rewriting immutable commits
16161794 --at-operation: string # Operation to load the repo at
16191797 --color: string # When to colorize output (always, never, debug, auto)
16201798 --quiet # Silence non-primary command output
16211799 --no-pager # Disable the pager
1622 --config-toml: string # Additional configuration options (can be repeated)
1800 --config: string # Additional configuration options (can be repeated)
1801 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1802 --config-file: path # Additional configuration files (can be repeated)
16231803 --help(-h) # Print help (see more with '--help')
16411821 --context: string # Number of lines of context to show
16421822 --ignore-all-space # Ignore whitespace when comparing lines
16431823 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1644 --repository(-R): string # Path to repository to operate on
1824 --repository(-R): path # Path to repository to operate on
16451825 --ignore-working-copy # Don't snapshot the working copy, and don't update it
16461826 --ignore-immutable # Allow rewriting immutable commits
16471827 --at-operation: string # Operation to load the repo at
16501830 --color: string # When to colorize output (always, never, debug, auto)
16511831 --quiet # Silence non-primary command output
16521832 --no-pager # Disable the pager
1653 --config-toml: string # Additional configuration options (can be repeated)
1833 --config: string # Additional configuration options (can be repeated)
1834 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1835 --config-file: path # Additional configuration files (can be repeated)
16541836 --help(-h) # Print help (see more with '--help')
16621844 export extern "jj operation restore" [
16631845 operation: string # The operation to restore to
16641846 --what: string@"nu-complete jj operation restore what" # What portions of the local state to restore (can be repeated)
1665 --repository(-R): string # Path to repository to operate on
1847 --repository(-R): path # Path to repository to operate on
16661848 --ignore-working-copy # Don't snapshot the working copy, and don't update it
16671849 --ignore-immutable # Allow rewriting immutable commits
16681850 --at-operation: string # Operation to load the repo at
16711853 --color: string # When to colorize output (always, never, debug, auto)
16721854 --quiet # Silence non-primary command output
16731855 --no-pager # Disable the pager
1674 --config-toml: string # Additional configuration options (can be repeated)
1856 --config: string # Additional configuration options (can be repeated)
1857 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1858 --config-file: path # Additional configuration files (can be repeated)
16751859 --help(-h) # Print help (see more with '--help')
16901874 --context: string # Number of lines of context to show
16911875 --ignore-all-space # Ignore whitespace when comparing lines
16921876 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1693 --repository(-R): string # Path to repository to operate on
1877 --repository(-R): path # Path to repository to operate on
16941878 --ignore-working-copy # Don't snapshot the working copy, and don't update it
16951879 --ignore-immutable # Allow rewriting immutable commits
16961880 --at-operation: string # Operation to load the repo at
16991883 --color: string # When to colorize output (always, never, debug, auto)
17001884 --quiet # Silence non-primary command output
17011885 --no-pager # Disable the pager
1702 --config-toml: string # Additional configuration options (can be repeated)
1886 --config: string # Additional configuration options (can be repeated)
1887 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1888 --config-file: path # Additional configuration files (can be repeated)
17031889 --help(-h) # Print help (see more with '--help')
17111897 export extern "jj operation undo" [
17121898 operation?: string # The operation to undo
17131899 --what: string@"nu-complete jj operation undo what" # What portions of the local state to restore (can be repeated)
1714 --repository(-R): string # Path to repository to operate on
1900 --repository(-R): path # Path to repository to operate on
17151901 --ignore-working-copy # Don't snapshot the working copy, and don't update it
17161902 --ignore-immutable # Allow rewriting immutable commits
17171903 --at-operation: string # Operation to load the repo at
17201906 --color: string # When to colorize output (always, never, debug, auto)
17211907 --quiet # Silence non-primary command output
17221908 --no-pager # Disable the pager
1723 --config-toml: string # Additional configuration options (can be repeated)
1909 --config: string # Additional configuration options (can be repeated)
1910 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1911 --config-file: path # Additional configuration files (can be repeated)
17241912 --help(-h) # Print help (see more with '--help')
17271915 # Parallelize revisions by making them siblings
17281916 export extern "jj parallelize" [
17291917 ...revisions: string # Revisions to parallelize
1730 --repository(-R): string # Path to repository to operate on
1918 --repository(-R): path # Path to repository to operate on
17311919 --ignore-working-copy # Don't snapshot the working copy, and don't update it
17321920 --ignore-immutable # Allow rewriting immutable commits
17331921 --at-operation: string # Operation to load the repo at
17361924 --color: string # When to colorize output (always, never, debug, auto)
17371925 --quiet # Silence non-primary command output
17381926 --no-pager # Disable the pager
1739 --config-toml: string # Additional configuration options (can be repeated)
1927 --config: string # Additional configuration options (can be repeated)
1928 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1929 --config-file: path # Additional configuration files (can be repeated)
17401930 --help(-h) # Print help (see more with '--help')
17461936 --edit(-e) # Edit the parent directly, instead of moving the working-copy commit
17471937 --no-edit(-n) # The inverse of `--edit`
17481938 --conflict # Jump to the previous conflicted ancestor
1749 --repository(-R): string # Path to repository to operate on
1939 --repository(-R): path # Path to repository to operate on
17501940 --ignore-working-copy # Don't snapshot the working copy, and don't update it
17511941 --ignore-immutable # Allow rewriting immutable commits
17521942 --at-operation: string # Operation to load the repo at
17551945 --color: string # When to colorize output (always, never, debug, auto)
17561946 --quiet # Silence non-primary command output
17571947 --no-pager # Disable the pager
1758 --config-toml: string # Additional configuration options (can be repeated)
1948 --config: string # Additional configuration options (can be repeated)
1949 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1950 --config-file: path # Additional configuration files (can be repeated)
17591951 --help(-h) # Print help (see more with '--help')
17711963 --before: string # The revision(s) to insert before (can be repeated to create a merge commit)
17721964 --skip-empty # Deprecated. Use --skip-emptied instead
17731965 --skip-emptied # If true, when rebasing would produce an empty commit, the commit is abandoned. It will not be abandoned if it was already empty before the rebase. Will never skip merge commits with multiple non-empty parents
1774 --repository(-R): string # Path to repository to operate on
1966 --repository(-R): path # Path to repository to operate on
17751967 --ignore-working-copy # Don't snapshot the working copy, and don't update it
17761968 --ignore-immutable # Allow rewriting immutable commits
17771969 --at-operation: string # Operation to load the repo at
17801972 --color: string # When to colorize output (always, never, debug, auto)
17811973 --quiet # Silence non-primary command output
17821974 --no-pager # Disable the pager
1783 --config-toml: string # Additional configuration options (can be repeated)
1975 --config: string # Additional configuration options (can be repeated)
1976 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1977 --config-file: path # Additional configuration files (can be repeated)
17841978 --help(-h) # Print help (see more with '--help')
17891983 --revision(-r): string
17901984 --list(-l) # Instead of resolving one conflict, list all the conflicts
17911985 --tool: string # Specify 3-way merge tool to be used
1792 ...paths: string # Restrict to these paths when searching for a conflict to resolve. We will attempt to resolve the first conflict we can find. You can use the `--list` argument to find paths to use here
1793 --repository(-R): string # Path to repository to operate on
1986 ...paths: path # Restrict to these paths when searching for a conflict to resolve. We will attempt to resolve the first conflict we can find. You can use the `--list` argument to find paths to use here
1987 --repository(-R): path # Path to repository to operate on
17941988 --ignore-working-copy # Don't snapshot the working copy, and don't update it
17951989 --ignore-immutable # Allow rewriting immutable commits
17961990 --at-operation: string # Operation to load the repo at
17991993 --color: string # When to colorize output (always, never, debug, auto)
18001994 --quiet # Silence non-primary command output
18011995 --no-pager # Disable the pager
1802 --config-toml: string # Additional configuration options (can be repeated)
1996 --config: string # Additional configuration options (can be repeated)
1997 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1998 --config-file: path # Additional configuration files (can be repeated)
18031999 --help(-h) # Print help (see more with '--help')
18062002 # Restore paths from another revision
18072003 export extern "jj restore" [
1808 ...paths: string # Restore only these paths (instead of all paths)
2004 ...paths: path # Restore only these paths (instead of all paths)
18092005 --from(-f): string # Revision to restore from (source)
18102006 --to(-t): string # Revision to restore into (destination)
18112007 --changes-in(-c): string # Undo the changes in a revision as compared to the merge of its parents
18122008 --revision(-r): string # Prints an error. DO NOT USE
18132009 --restore-descendants # Preserve the content (not the diff) when rebasing descendants
1814 --repository(-R): string # Path to repository to operate on
2010 --repository(-R): path # Path to repository to operate on
18152011 --ignore-working-copy # Don't snapshot the working copy, and don't update it
18162012 --ignore-immutable # Allow rewriting immutable commits
18172013 --at-operation: string # Operation to load the repo at
18202016 --color: string # When to colorize output (always, never, debug, auto)
18212017 --quiet # Silence non-primary command output
18222018 --no-pager # Disable the pager
1823 --config-toml: string # Additional configuration options (can be repeated)
2019 --config: string # Additional configuration options (can be repeated)
2020 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2021 --config-file: path # Additional configuration files (can be repeated)
18242022 --help(-h) # Print help (see more with '--help')
18272025 # A dummy command that accepts any arguments
18282026 export extern "jj revert" [
18292027 ..._args: string
1830 --repository(-R): string # Path to repository to operate on
2028 --repository(-R): path # Path to repository to operate on
18312029 --ignore-working-copy # Don't snapshot the working copy, and don't update it
18322030 --ignore-immutable # Allow rewriting immutable commits
18332031 --at-operation: string # Operation to load the repo at
18362034 --color: string # When to colorize output (always, never, debug, auto)
18372035 --quiet # Silence non-primary command output
18382036 --no-pager # Disable the pager
1839 --config-toml: string # Additional configuration options (can be repeated)
2037 --config: string # Additional configuration options (can be repeated)
2038 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2039 --config-file: path # Additional configuration files (can be repeated)
18402040 --help(-h) # Print help (see more with '--help')
18432043 # Show the current workspace root directory
18442044 export extern "jj root" [
1845 --repository(-R): string # Path to repository to operate on
2045 --repository(-R): path # Path to repository to operate on
18462046 --ignore-working-copy # Don't snapshot the working copy, and don't update it
18472047 --ignore-immutable # Allow rewriting immutable commits
18482048 --at-operation: string # Operation to load the repo at
18512051 --color: string # When to colorize output (always, never, debug, auto)
18522052 --quiet # Silence non-primary command output
18532053 --no-pager # Disable the pager
1854 --config-toml: string # Additional configuration options (can be repeated)
2054 --config: string # Additional configuration options (can be repeated)
2055 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2056 --config-file: path # Additional configuration files (can be repeated)
18552057 --help(-h) # Print help (see more with '--help')
18612063 --revisions(-r): string # The revisions to change
18622064 -x # A no-op option to match the interface of `git rebase -x`
18632065 --jobs(-j): string # How many processes should run in parallel, uses by default all cores
1864 --repository(-R): string # Path to repository to operate on
2066 --repository(-R): path # Path to repository to operate on
18652067 --ignore-working-copy # Don't snapshot the working copy, and don't update it
18662068 --ignore-immutable # Allow rewriting immutable commits
18672069 --at-operation: string # Operation to load the repo at
18702072 --color: string # When to colorize output (always, never, debug, auto)
18712073 --quiet # Silence non-primary command output
18722074 --no-pager # Disable the pager
1873 --config-toml: string # Additional configuration options (can be repeated)
2075 --config: string # Additional configuration options (can be repeated)
2076 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2077 --config-file: path # Additional configuration files (can be repeated)
18742078 --help(-h) # Print help (see more with '--help')
18892093 --context: string # Number of lines of context to show
18902094 --ignore-all-space # Ignore whitespace when comparing lines
18912095 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1892 --repository(-R): string # Path to repository to operate on
2096 --repository(-R): path # Path to repository to operate on
18932097 --ignore-working-copy # Don't snapshot the working copy, and don't update it
18942098 --ignore-immutable # Allow rewriting immutable commits
18952099 --at-operation: string # Operation to load the repo at
18982102 --color: string # When to colorize output (always, never, debug, auto)
18992103 --quiet # Silence non-primary command output
19002104 --no-pager # Disable the pager
1901 --config-toml: string # Additional configuration options (can be repeated)
2105 --config: string # Additional configuration options (can be repeated)
2106 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2107 --config-file: path # Additional configuration files (can be repeated)
19022108 --help(-h) # Print help (see more with '--help')
19062112 export extern "jj simplify-parents" [
19072113 --source(-s): string # Simplify specified revision(s) together with their trees of descendants (can be repeated)
19082114 --revisions(-r): string # Simplify specified revision(s) (can be repeated)
1909 --repository(-R): string # Path to repository to operate on
2115 --repository(-R): path # Path to repository to operate on
19102116 --ignore-working-copy # Don't snapshot the working copy, and don't update it
19112117 --ignore-immutable # Allow rewriting immutable commits
19122118 --at-operation: string # Operation to load the repo at
19152121 --color: string # When to colorize output (always, never, debug, auto)
19162122 --quiet # Silence non-primary command output
19172123 --no-pager # Disable the pager
1918 --config-toml: string # Additional configuration options (can be repeated)
2124 --config: string # Additional configuration options (can be repeated)
2125 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2126 --config-file: path # Additional configuration files (can be repeated)
19192127 --help(-h) # Print help (see more with '--help')
19222130 # Manage which paths from the working-copy commit are present in the working copy
19232131 export extern "jj sparse" [
1924 --repository(-R): string # Path to repository to operate on
2132 --repository(-R): path # Path to repository to operate on
19252133 --ignore-working-copy # Don't snapshot the working copy, and don't update it
19262134 --ignore-immutable # Allow rewriting immutable commits
19272135 --at-operation: string # Operation to load the repo at
19302138 --color: string # When to colorize output (always, never, debug, auto)
19312139 --quiet # Silence non-primary command output
19322140 --no-pager # Disable the pager
1933 --config-toml: string # Additional configuration options (can be repeated)
2141 --config: string # Additional configuration options (can be repeated)
2142 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2143 --config-file: path # Additional configuration files (can be repeated)
19342144 --help(-h) # Print help (see more with '--help')
19372147 # Start an editor to update the patterns that are present in the working copy
19382148 export extern "jj sparse edit" [
1939 --repository(-R): string # Path to repository to operate on
2149 --repository(-R): path # Path to repository to operate on
19402150 --ignore-working-copy # Don't snapshot the working copy, and don't update it
19412151 --ignore-immutable # Allow rewriting immutable commits
19422152 --at-operation: string # Operation to load the repo at
19452155 --color: string # When to colorize output (always, never, debug, auto)
19462156 --quiet # Silence non-primary command output
19472157 --no-pager # Disable the pager
1948 --config-toml: string # Additional configuration options (can be repeated)
2158 --config: string # Additional configuration options (can be repeated)
2159 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2160 --config-file: path # Additional configuration files (can be repeated)
19492161 --help(-h) # Print help (see more with '--help')
19522164 # List the patterns that are currently present in the working copy
19532165 export extern "jj sparse list" [
1954 --repository(-R): string # Path to repository to operate on
2166 --repository(-R): path # Path to repository to operate on
19552167 --ignore-working-copy # Don't snapshot the working copy, and don't update it
19562168 --ignore-immutable # Allow rewriting immutable commits
19572169 --at-operation: string # Operation to load the repo at
19602172 --color: string # When to colorize output (always, never, debug, auto)
19612173 --quiet # Silence non-primary command output
19622174 --no-pager # Disable the pager
1963 --config-toml: string # Additional configuration options (can be repeated)
2175 --config: string # Additional configuration options (can be repeated)
2176 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2177 --config-file: path # Additional configuration files (can be repeated)
19642178 --help(-h) # Print help (see more with '--help')
19672181 # Reset the patterns to include all files in the working copy
19682182 export extern "jj sparse reset" [
1969 --repository(-R): string # Path to repository to operate on
2183 --repository(-R): path # Path to repository to operate on
19702184 --ignore-working-copy # Don't snapshot the working copy, and don't update it
19712185 --ignore-immutable # Allow rewriting immutable commits
19722186 --at-operation: string # Operation to load the repo at
19752189 --color: string # When to colorize output (always, never, debug, auto)
19762190 --quiet # Silence non-primary command output
19772191 --no-pager # Disable the pager
1978 --config-toml: string # Additional configuration options (can be repeated)
2192 --config: string # Additional configuration options (can be repeated)
2193 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2194 --config-file: path # Additional configuration files (can be repeated)
19792195 --help(-h) # Print help (see more with '--help')
19822198 # Update the patterns that are present in the working copy
19832199 export extern "jj sparse set" [
1984 --add: string # Patterns to add to the working copy
1985 --remove: string # Patterns to remove from the working copy
2200 --add: path # Patterns to add to the working copy
2201 --remove: path # Patterns to remove from the working copy
19862202 --clear # Include no files in the working copy (combine with --add)
1987 --repository(-R): string # Path to repository to operate on
2203 --repository(-R): path # Path to repository to operate on
19882204 --ignore-working-copy # Don't snapshot the working copy, and don't update it
19892205 --ignore-immutable # Allow rewriting immutable commits
19902206 --at-operation: string # Operation to load the repo at
19932209 --color: string # When to colorize output (always, never, debug, auto)
19942210 --quiet # Silence non-primary command output
19952211 --no-pager # Disable the pager
1996 --config-toml: string # Additional configuration options (can be repeated)
2212 --config: string # Additional configuration options (can be repeated)
2213 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2214 --config-file: path # Additional configuration files (can be repeated)
19972215 --help(-h) # Print help (see more with '--help')
20002218 # Split a revision in two
20012219 export extern "jj split" [
2002 --interactive(-i) # Interactively choose which parts to split. This is the default if no paths are provided
2220 --interactive(-i) # Interactively choose which parts to split
20032221 --tool: string # Specify diff editor to be used (implies --interactive)
20042222 --revision(-r): string # The revision to split
20052223 --parallel(-p) # Split the revision into two parallel revisions instead of a parent and child
2006 ...paths: string # Put these paths in the first commit
2007 --repository(-R): string # Path to repository to operate on
2224 ...paths: path # Files matching any of these filesets are put in the first commit
2225 --repository(-R): path # Path to repository to operate on
20082226 --ignore-working-copy # Don't snapshot the working copy, and don't update it
20092227 --ignore-immutable # Allow rewriting immutable commits
20102228 --at-operation: string # Operation to load the repo at
20132231 --color: string # When to colorize output (always, never, debug, auto)
20142232 --quiet # Silence non-primary command output
20152233 --no-pager # Disable the pager
2016 --config-toml: string # Additional configuration options (can be repeated)
2234 --config: string # Additional configuration options (can be repeated)
2235 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2236 --config-file: path # Additional configuration files (can be repeated)
20172237 --help(-h) # Print help (see more with '--help')
20272247 --use-destination-message(-u) # Use the description of the destination revision and discard the description(s) of the source revision(s)
20282248 --interactive(-i) # Interactively choose which parts to squash
20292249 --tool: string # Specify diff editor to be used (implies --interactive)
2030 ...paths: string # Move only changes to these paths (instead of all paths)
2250 ...paths: path # Move only changes to these paths (instead of all paths)
20312251 --keep-emptied(-k) # The source revision will not be abandoned
2032 --repository(-R): string # Path to repository to operate on
2252 --repository(-R): path # Path to repository to operate on
20332253 --ignore-working-copy # Don't snapshot the working copy, and don't update it
20342254 --ignore-immutable # Allow rewriting immutable commits
20352255 --at-operation: string # Operation to load the repo at
20382258 --color: string # When to colorize output (always, never, debug, auto)
20392259 --quiet # Silence non-primary command output
20402260 --no-pager # Disable the pager
2041 --config-toml: string # Additional configuration options (can be repeated)
2261 --config: string # Additional configuration options (can be repeated)
2262 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2263 --config-file: path # Additional configuration files (can be repeated)
20422264 --help(-h) # Print help (see more with '--help')
20452267 # Show high-level repo status
20462268 export extern "jj status" [
2047 ...paths: string # Restrict the status display to these paths
2048 --repository(-R): string # Path to repository to operate on
2269 ...paths: path # Restrict the status display to these paths
2270 --repository(-R): path # Path to repository to operate on
20492271 --ignore-working-copy # Don't snapshot the working copy, and don't update it
20502272 --ignore-immutable # Allow rewriting immutable commits
20512273 --at-operation: string # Operation to load the repo at
20542276 --color: string # When to colorize output (always, never, debug, auto)
20552277 --quiet # Silence non-primary command output
20562278 --no-pager # Disable the pager
2057 --config-toml: string # Additional configuration options (can be repeated)
2279 --config: string # Additional configuration options (can be repeated)
2280 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2281 --config-file: path # Additional configuration files (can be repeated)
20582282 --help(-h) # Print help (see more with '--help')
20612285 # Manage tags
20622286 export extern "jj tag" [
2063 --repository(-R): string # Path to repository to operate on
2287 --repository(-R): path # Path to repository to operate on
20642288 --ignore-working-copy # Don't snapshot the working copy, and don't update it
20652289 --ignore-immutable # Allow rewriting immutable commits
20662290 --at-operation: string # Operation to load the repo at
20692293 --color: string # When to colorize output (always, never, debug, auto)
20702294 --quiet # Silence non-primary command output
20712295 --no-pager # Disable the pager
2072 --config-toml: string # Additional configuration options (can be repeated)
2296 --config: string # Additional configuration options (can be repeated)
2297 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2298 --config-file: path # Additional configuration files (can be repeated)
20732299 --help(-h) # Print help (see more with '--help')
20772303 export extern "jj tag list" [
20782304 ...names: string # Show tags whose local name matches
20792305 --template(-T): string # Render each tag using the given template
2080 --repository(-R): string # Path to repository to operate on
2306 --repository(-R): path # Path to repository to operate on
20812307 --ignore-working-copy # Don't snapshot the working copy, and don't update it
20822308 --ignore-immutable # Allow rewriting immutable commits
20832309 --at-operation: string # Operation to load the repo at
20862312 --color: string # When to colorize output (always, never, debug, auto)
20872313 --quiet # Silence non-primary command output
20882314 --no-pager # Disable the pager
2089 --config-toml: string # Additional configuration options (can be repeated)
2315 --config: string # Additional configuration options (can be repeated)
2316 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2317 --config-file: path # Additional configuration files (can be repeated)
20902318 --help(-h) # Print help (see more with '--help')
20932321 # Infrequently used commands such as for generating shell completions
20942322 export extern "jj util" [
2095 --repository(-R): string # Path to repository to operate on
2323 --repository(-R): path # Path to repository to operate on
20962324 --ignore-working-copy # Don't snapshot the working copy, and don't update it
20972325 --ignore-immutable # Allow rewriting immutable commits
20982326 --at-operation: string # Operation to load the repo at
21012329 --color: string # When to colorize output (always, never, debug, auto)
21022330 --quiet # Silence non-primary command output
21032331 --no-pager # Disable the pager
2104 --config-toml: string # Additional configuration options (can be repeated)
2332 --config: string # Additional configuration options (can be repeated)
2333 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2334 --config-file: path # Additional configuration files (can be repeated)
21052335 --help(-h) # Print help (see more with '--help')
21152345 --bash # Deprecated. Use the SHELL positional argument instead
21162346 --fish # Deprecated. Use the SHELL positional argument instead
21172347 --zsh # Deprecated. Use the SHELL positional argument instead
2118 --repository(-R): string # Path to repository to operate on
2348 --repository(-R): path # Path to repository to operate on
21192349 --ignore-working-copy # Don't snapshot the working copy, and don't update it
21202350 --ignore-immutable # Allow rewriting immutable commits
21212351 --at-operation: string # Operation to load the repo at
21242354 --color: string # When to colorize output (always, never, debug, auto)
21252355 --quiet # Silence non-primary command output
21262356 --no-pager # Disable the pager
2127 --config-toml: string # Additional configuration options (can be repeated)
2357 --config: string # Additional configuration options (can be repeated)
2358 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2359 --config-file: path # Additional configuration files (can be repeated)
21282360 --help(-h) # Print help (see more with '--help')
21312363 # Print the JSON schema for the jj TOML config format
21322364 export extern "jj util config-schema" [
2133 --repository(-R): string # Path to repository to operate on
2365 --repository(-R): path # Path to repository to operate on
21342366 --ignore-working-copy # Don't snapshot the working copy, and don't update it
21352367 --ignore-immutable # Allow rewriting immutable commits
21362368 --at-operation: string # Operation to load the repo at
21392371 --color: string # When to colorize output (always, never, debug, auto)
21402372 --quiet # Silence non-primary command output
21412373 --no-pager # Disable the pager
2142 --config-toml: string # Additional configuration options (can be repeated)
2374 --config: string # Additional configuration options (can be repeated)
2375 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2376 --config-file: path # Additional configuration files (can be repeated)
21432377 --help(-h) # Print help (see more with '--help')
21472381 export extern "jj util exec" [
21482382 command: string # External command to execute
21492383 ...args: string # Arguments to pass to the external command
2150 --repository(-R): string # Path to repository to operate on
2384 --repository(-R): path # Path to repository to operate on
21512385 --ignore-working-copy # Don't snapshot the working copy, and don't update it
21522386 --ignore-immutable # Allow rewriting immutable commits
21532387 --at-operation: string # Operation to load the repo at
21562390 --color: string # When to colorize output (always, never, debug, auto)
21572391 --quiet # Silence non-primary command output
21582392 --no-pager # Disable the pager
2159 --config-toml: string # Additional configuration options (can be repeated)
2393 --config: string # Additional configuration options (can be repeated)
2394 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2395 --config-file: path # Additional configuration files (can be repeated)
21602396 --help(-h) # Print help (see more with '--help')
21632399 # Run backend-dependent garbage collection
21642400 export extern "jj util gc" [
21652401 --expire: string # Time threshold
2166 --repository(-R): string # Path to repository to operate on
2402 --repository(-R): path # Path to repository to operate on
21672403 --ignore-working-copy # Don't snapshot the working copy, and don't update it
21682404 --ignore-immutable # Allow rewriting immutable commits
21692405 --at-operation: string # Operation to load the repo at
21722408 --color: string # When to colorize output (always, never, debug, auto)
21732409 --quiet # Silence non-primary command output
21742410 --no-pager # Disable the pager
2175 --config-toml: string # Additional configuration options (can be repeated)
2411 --config: string # Additional configuration options (can be repeated)
2412 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2413 --config-file: path # Additional configuration files (can be repeated)
21762414 --help(-h) # Print help (see more with '--help')
21792417 # Print a ROFF (manpage)
21802418 export extern "jj util mangen" [
2181 --repository(-R): string # Path to repository to operate on
2419 --repository(-R): path # Path to repository to operate on
21822420 --ignore-working-copy # Don't snapshot the working copy, and don't update it
21832421 --ignore-immutable # Allow rewriting immutable commits
21842422 --at-operation: string # Operation to load the repo at
21872425 --color: string # When to colorize output (always, never, debug, auto)
21882426 --quiet # Silence non-primary command output
21892427 --no-pager # Disable the pager
2190 --config-toml: string # Additional configuration options (can be repeated)
2428 --config: string # Additional configuration options (can be repeated)
2429 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2430 --config-file: path # Additional configuration files (can be repeated)
21912431 --help(-h) # Print help (see more with '--help')
21942434 # Print the CLI help for all subcommands in Markdown
21952435 export extern "jj util markdown-help" [
2196 --repository(-R): string # Path to repository to operate on
2436 --repository(-R): path # Path to repository to operate on
21972437 --ignore-working-copy # Don't snapshot the working copy, and don't update it
21982438 --ignore-immutable # Allow rewriting immutable commits
21992439 --at-operation: string # Operation to load the repo at
22022442 --color: string # When to colorize output (always, never, debug, auto)
22032443 --quiet # Silence non-primary command output
22042444 --no-pager # Disable the pager
2205 --config-toml: string # Additional configuration options (can be repeated)
2445 --config: string # Additional configuration options (can be repeated)
2446 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2447 --config-file: path # Additional configuration files (can be repeated)
22062448 --help(-h) # Print help (see more with '--help')
22142456 export extern "jj undo" [
22152457 operation?: string # The operation to undo
22162458 --what: string@"nu-complete jj undo what" # What portions of the local state to restore (can be repeated)
2217 --repository(-R): string # Path to repository to operate on
2459 --repository(-R): path # Path to repository to operate on
22182460 --ignore-working-copy # Don't snapshot the working copy, and don't update it
22192461 --ignore-immutable # Allow rewriting immutable commits
22202462 --at-operation: string # Operation to load the repo at
22232465 --color: string # When to colorize output (always, never, debug, auto)
22242466 --quiet # Silence non-primary command output
22252467 --no-pager # Disable the pager
2226 --config-toml: string # Additional configuration options (can be repeated)
2468 --config: string # Additional configuration options (can be repeated)
2469 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2470 --config-file: path # Additional configuration files (can be repeated)
22272471 --help(-h) # Print help (see more with '--help')
22322476 --revision(-r): string
22332477 --interactive(-i) # Interactively choose which parts to unsquash
22342478 --tool: string # Specify diff editor to be used (implies --interactive)
2235 --repository(-R): string # Path to repository to operate on
2479 --repository(-R): path # Path to repository to operate on
22362480 --ignore-working-copy # Don't snapshot the working copy, and don't update it
22372481 --ignore-immutable # Allow rewriting immutable commits
22382482 --at-operation: string # Operation to load the repo at
22412485 --color: string # When to colorize output (always, never, debug, auto)
22422486 --quiet # Silence non-primary command output
22432487 --no-pager # Disable the pager
2244 --config-toml: string # Additional configuration options (can be repeated)
2488 --config: string # Additional configuration options (can be repeated)
2489 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2490 --config-file: path # Additional configuration files (can be repeated)
22452491 --help(-h) # Print help (see more with '--help')
22482494 # Stop tracking specified paths in the working copy
22492495 export extern "jj untrack" [
2250 ...paths: string # Paths to untrack. They must already be ignored
2251 --repository(-R): string # Path to repository to operate on
2496 ...paths: path # Paths to untrack. They must already be ignored
2497 --repository(-R): path # Path to repository to operate on
22522498 --ignore-working-copy # Don't snapshot the working copy, and don't update it
22532499 --ignore-immutable # Allow rewriting immutable commits
22542500 --at-operation: string # Operation to load the repo at
22572503 --color: string # When to colorize output (always, never, debug, auto)
22582504 --quiet # Silence non-primary command output
22592505 --no-pager # Disable the pager
2260 --config-toml: string # Additional configuration options (can be repeated)
2506 --config: string # Additional configuration options (can be repeated)
2507 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2508 --config-file: path # Additional configuration files (can be repeated)
22612509 --help(-h) # Print help (see more with '--help')
22642512 # Display version information
22652513 export extern "jj version" [
2266 --repository(-R): string # Path to repository to operate on
2514 --repository(-R): path # Path to repository to operate on
22672515 --ignore-working-copy # Don't snapshot the working copy, and don't update it
22682516 --ignore-immutable # Allow rewriting immutable commits
22692517 --at-operation: string # Operation to load the repo at
22722520 --color: string # When to colorize output (always, never, debug, auto)
22732521 --quiet # Silence non-primary command output
22742522 --no-pager # Disable the pager
2275 --config-toml: string # Additional configuration options (can be repeated)
2523 --config: string # Additional configuration options (can be repeated)
2524 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2525 --config-file: path # Additional configuration files (can be repeated)
22762526 --help(-h) # Print help (see more with '--help')
22792529 # Commands for working with workspaces
22802530 export extern "jj workspace" [
2281 --repository(-R): string # Path to repository to operate on
2531 --repository(-R): path # Path to repository to operate on
22822532 --ignore-working-copy # Don't snapshot the working copy, and don't update it
22832533 --ignore-immutable # Allow rewriting immutable commits
22842534 --at-operation: string # Operation to load the repo at
22872537 --color: string # When to colorize output (always, never, debug, auto)
22882538 --quiet # Silence non-primary command output
22892539 --no-pager # Disable the pager
2290 --config-toml: string # Additional configuration options (can be repeated)
2540 --config: string # Additional configuration options (can be repeated)
2541 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2542 --config-file: path # Additional configuration files (can be repeated)
22912543 --help(-h) # Print help (see more with '--help')
23012553 --name: string # A name for the workspace
23022554 --revision(-r): string # A list of parent revisions for the working-copy commit of the newly created workspace. You may specify nothing, or any number of parents
23032555 --sparse-patterns: string@"nu-complete jj workspace add sparse_patterns" # How to handle sparse patterns when creating a new workspace
2304 --repository(-R): string # Path to repository to operate on
2556 --repository(-R): path # Path to repository to operate on
23052557 --ignore-working-copy # Don't snapshot the working copy, and don't update it
23062558 --ignore-immutable # Allow rewriting immutable commits
23072559 --at-operation: string # Operation to load the repo at
23102562 --color: string # When to colorize output (always, never, debug, auto)
23112563 --quiet # Silence non-primary command output
23122564 --no-pager # Disable the pager
2313 --config-toml: string # Additional configuration options (can be repeated)
2565 --config: string # Additional configuration options (can be repeated)
2566 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2567 --config-file: path # Additional configuration files (can be repeated)
23142568 --help(-h) # Print help (see more with '--help')
23172571 # Stop tracking a workspace's working-copy commit in the repo
23182572 export extern "jj workspace forget" [
23192573 ...workspaces: string # Names of the workspaces to forget. By default, forgets only the current workspace
2320 --repository(-R): string # Path to repository to operate on
2574 --repository(-R): path # Path to repository to operate on
23212575 --ignore-working-copy # Don't snapshot the working copy, and don't update it
23222576 --ignore-immutable # Allow rewriting immutable commits
23232577 --at-operation: string # Operation to load the repo at
23262580 --color: string # When to colorize output (always, never, debug, auto)
23272581 --quiet # Silence non-primary command output
23282582 --no-pager # Disable the pager
2329 --config-toml: string # Additional configuration options (can be repeated)
2583 --config: string # Additional configuration options (can be repeated)
2584 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2585 --config-file: path # Additional configuration files (can be repeated)
23302586 --help(-h) # Print help (see more with '--help')
23332589 # List workspaces
23342590 export extern "jj workspace list" [
2335 --repository(-R): string # Path to repository to operate on
2591 --repository(-R): path # Path to repository to operate on
23362592 --ignore-working-copy # Don't snapshot the working copy, and don't update it
23372593 --ignore-immutable # Allow rewriting immutable commits
23382594 --at-operation: string # Operation to load the repo at
23412597 --color: string # When to colorize output (always, never, debug, auto)
23422598 --quiet # Silence non-primary command output
23432599 --no-pager # Disable the pager
2344 --config-toml: string # Additional configuration options (can be repeated)
2600 --config: string # Additional configuration options (can be repeated)
2601 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2602 --config-file: path # Additional configuration files (can be repeated)
23452603 --help(-h) # Print help (see more with '--help')
23482606 # Renames the current workspace
23492607 export extern "jj workspace rename" [
23502608 new_workspace_name: string # The name of the workspace to update to
2351 --repository(-R): string # Path to repository to operate on
2609 --repository(-R): path # Path to repository to operate on
23522610 --ignore-working-copy # Don't snapshot the working copy, and don't update it
23532611 --ignore-immutable # Allow rewriting immutable commits
23542612 --at-operation: string # Operation to load the repo at
23572615 --color: string # When to colorize output (always, never, debug, auto)
23582616 --quiet # Silence non-primary command output
23592617 --no-pager # Disable the pager
2360 --config-toml: string # Additional configuration options (can be repeated)
2618 --config: string # Additional configuration options (can be repeated)
2619 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2620 --config-file: path # Additional configuration files (can be repeated)
23612621 --help(-h) # Print help (see more with '--help')
23642624 # Show the current workspace root directory
23652625 export extern "jj workspace root" [
2366 --repository(-R): string # Path to repository to operate on
2626 --repository(-R): path # Path to repository to operate on
23672627 --ignore-working-copy # Don't snapshot the working copy, and don't update it
23682628 --ignore-immutable # Allow rewriting immutable commits
23692629 --at-operation: string # Operation to load the repo at
23722632 --color: string # When to colorize output (always, never, debug, auto)
23732633 --quiet # Silence non-primary command output
23742634 --no-pager # Disable the pager
2375 --config-toml: string # Additional configuration options (can be repeated)
2635 --config: string # Additional configuration options (can be repeated)
2636 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2637 --config-file: path # Additional configuration files (can be repeated)
23762638 --help(-h) # Print help (see more with '--help')
23792641 # Update a workspace that has become stale
23802642 export extern "jj workspace update-stale" [
2381 --repository(-R): string # Path to repository to operate on
2643 --repository(-R): path # Path to repository to operate on
23822644 --ignore-working-copy # Don't snapshot the working copy, and don't update it
23832645 --ignore-immutable # Allow rewriting immutable commits
23842646 --at-operation: string # Operation to load the repo at
23872649 --color: string # When to colorize output (always, never, debug, auto)
23882650 --quiet # Silence non-primary command output
23892651 --no-pager # Disable the pager
2390 --config-toml: string # Additional configuration options (can be repeated)
2652 --config: string # Additional configuration options (can be repeated)
2653 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2654 --config-file: path # Additional configuration files (can be repeated)
23912655 --help(-h) # Print help (see more with '--help')

nushell/env.nu

Modified

+11 / −3 text lines

8282# generate zoxide hooks for sourcing later on
8383let zoxide_config_path = $nu.default-config-dir | path join 'zoxide.nu'
84if not (which zoxide | is-empty) {
84if not (which zoxide | is-empty) {
8585 zoxide init nushell | save --force $zoxide_config_path
8686} else {
8787 '' | save -f $zoxide_config_path
8888}
90# generate nix exports for sourcing later on
91let nixyourshell_config_path = $nu.default-config-dir | path join 'nixyourshell.nu'
92if not (which nix-your-shell | is-empty) {
93 nix-your-shell nu | save --force $nixyourshell_config_path
94} else {
95 '' | save -f $nixyourshell_config_path
96}
97
9098let jj_completions_path = $nu.default-config-dir | path join 'completions' | path join 'jj-completions.nu'
91if not (which jj | is-empty) {
99if not (which jj | is-empty) {
92100 jj util completion nushell | save --force $jj_completions_path
93101} else {
94102 '' | save -f $jj_completions_path
95103}
97105let pueue_completions_path = $nu.default-config-dir | path join 'completions' | path join 'pueue-completions.nu'
98if not (which pueue | is-empty) {
106if not (which pueue | is-empty) {
99107 pueue completions nushell | save --force $pueue_completions_path
100108} else {
101109 '' | save -f $pueue_completions_path

nushell/login.nu

Modified

+1 / −0 text lines

2323source ($nu.default-config-dir | path join 'aliases.nu')
2424source ($nu.default-config-dir | path join "zoxide.nu")
25source ($nu.default-config-dir | path join "nixyourshell.nu")
2526source ($nu.default-config-dir | path join "carapace.nu")
2728# neovim configs

nushell/scripts/notes.nu

Modified

+1 / −2 text lines

5858}
6060def edit [ ...rest ] {
61 mut editor = if ( $env.EDITOR == null ) { 'vi' } else { $env.EDITOR }
62 $editor = if ( $env.VISUAL == null ) { $editor } else { $env.VISUAL }
61 let editor = if ( $env.EDITOR == null ) { 'vi' } else { $env.EDITOR }
6362 run-external $editor ...$rest
6463}

tools/packages.nuon

Modified

+7 / −0 text lines

6363 https://github.com/dev-cycles/contextive/releases/download/v{ version }/Contextive.LanguageServer-win-x64-{ version }.zip
6464 https://github.com/dev-cycles/contextive/releases/download/v{ version }/Contextive.LanguageServer-linux-x64-{ version }.zip
6565 ],
66 [
67 zls
68 zls
69 0.14.0
70 https://builds.zigtools.org/zls-windows-x86_64-{ version }.zip
71 https://builds.zigtools.org/zls-linux-x86_64-{ version }.tar.xz
72 ]
6673]

zed/settings.json

Modified

+2 / −1 text lines

1515 "version": "2"
1616 },
1717 "features": {
18 "edit_prediction_provider": "zed",
1819 "copilot": false
1920 },
20 "theme": "Serendipity Midnight",
21 "theme": "Oxocarbon Light (IBM Carbon)",
2122 "vim_mode": true,
2223 "vim": {
2324 "use_smartcase_find": true,