1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-14 14:55:27 +02:00
tldr/pages/common/jj-commit.md

16 lines
418 B
Markdown

# jj commit
> Update the description and create a new change on top.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-commit>.
- 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]}}`