mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 01:50:27 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/jj-commit
Normal file
21
tldr/jj-commit
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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]}}`
|
||||
Reference in New Issue
Block a user