Files
cheatsheet-tldr/tldr/jj-commit
2025-07-06 00:23:01 +00:00

22 lines
511 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://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]}}`