jj-metaedit
modifies a Jujutsu revision's metadata without changing its content
TLDR
SYNOPSIS
jj metaedit [options] [revsets...]
DESCRIPTION
jj metaedit rewrites selected revisions so their metadata (change ID, description, author name/email/timestamp) can change while the file contents stay the same. With no metadata flags and without --force-rewrite, nothing is rewritten.Whenever any metadata *is* updated, the committer name, email, and timestamp are also updated on every rewritten commit (and on rebased descendants). Committer identity comes from `user.name` / `user.email`, the `JJUSER` and `JJEMAIL` environment variables, or `--config user.name` / `--config user.email`.This is the dedicated metadata tool: jj describe is the editor-based way to change only the description. The command was originally prototyped as `jj touch` and renamed to metaedit before release.
PARAMETERS
REVSETS
Revisions to modify (repeatable; alias -r). Defaults to `@` (the working-copy commit).--update-change-id
Generate a new change ID for the revision.-m, --message MESSAGE
Set the change description without opening an editor. Use jj describe if you want an editor.--update-author-timestamp
Set the author timestamp to the current time without changing the author name or email.--update-author
Set the author name and email to the configured user (`user.name` / `user.email`, or `JJUSER` / `JJEMAIL`). Does not change the author timestamp.--author AUTHOR
Set author name and email from a string such as `Name <user@example.com>`. Retains the author timestamp on non-discardable commits.--author-timestamp TIMESTAMP
Set the author date. Accepts RFC 2822 (`Sun, 23 Jan 2000 01:23:45 PST`) or RFC 3339 (`2000-01-23T01:23:45-08:00`).--force-rewrite
Rewrite the commit even if no other metadata changed. Always refreshes committer name, email, and timestamp.-h, --help
Print help.
INSTALL
CAVEATS
Subcommand of jj. Immutable revisions are skipped unless --ignore-immutable is passed. A rewrite produces a new commit ID; the change ID stays the same unless --update-change-id is used. --message never opens an editor. Bare `jj metaedit` with no flags is a no-op.
SEE ALSO
jj(1), jj-describe(1), jj-sign(1), jj-unsign(1), git-commit(1)
