Files
cheatsheet-tldr/tldr/jj-commit
2026-01-13 00:19:20 +00:00

22 lines
507 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# jj commit
> Update the description and create a new change on top.
> More information: <https://docs.jj-vcs.dev/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]}}`