mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 03:24:04 +00:00
22 lines
507 B
Plaintext
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]}}`
|