2025-07-24 22:27:13 -06:00
|
|
|
# jj commit
|
|
|
|
|
|
|
|
|
|
> Update the description and create a new change on top.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-commit>.
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- Open editor to write the commit message and then create a new empty commit on top:
|
|
|
|
|
|
|
|
|
|
`jj commit`
|
|
|
|
|
|
|
|
|
|
- Commit with the given message:
|
|
|
|
|
|
|
|
|
|
`jj commit {{[-m|--message]}} "{{message}}"`
|
|
|
|
|
|
|
|
|
|
- Interactively choose which changes to include:
|
|
|
|
|
|
|
|
|
|
`jj commit {{[-i|--interactive]}}`
|