mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-04-05 10:26:41 +00:00
docs: jj: add initial jj
notes
This commit is contained in:
parent
ac1cf5a17a
commit
3018bbdeb6
2 changed files with 20 additions and 0 deletions
19
docs/misc/vcs/jj.md
Normal file
19
docs/misc/vcs/jj.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Jujustsu (`jj`)
|
||||
|
||||
## Basic Operations
|
||||
|
||||
### Status & Log
|
||||
|
||||
`jj status`: show current status of the working copy
|
||||
`jj log -r|--revisions <revset>`: show commits of a given revset
|
||||
`jj log -r|--revisions ::@`: show all ancestors of the working copy
|
||||
|
||||
|
||||
### Describing & Creating Commits
|
||||
|
||||
`jj describe -m|--message <message> <revset>`: add a description to the working copy
|
||||
`jj new <revset> -m|--message <message>`: create a new commit after `<revset>` with the given description
|
||||
|
||||
### Merging Commits
|
||||
|
||||
`jj new <revset-1> <revset-2> ...`: create a new commit after listed parents
|
|
@ -186,6 +186,7 @@ nav:
|
|||
- Misc:
|
||||
- VCS:
|
||||
- Git: misc/vcs/git.md
|
||||
- JJ: misc/vcs/jj.md
|
||||
- GraphQL: misc/graph-ql.md
|
||||
- RegEx: misc/regular-expressions.md
|
||||
- SSH: misc/ssh.md
|
||||
|
|
Loading…
Add table
Reference in a new issue